Re: [CMake] How to dictate cmake best CFLAGS/...

2008-04-26 Thread Daniel
Christoph Cullmann wrote: we have a strict set of C/CXX/LDFLAGS we want to pass the toolchain per default, how can that be accomplished best with cmake? Before, we just used nmake with handcrafted files using some environment variables. At my work, we have the same problem, and we want the co

Re: [CMake] How to dictate cmake best CFLAGS/...

2008-04-26 Thread Christoph Cullmann
Am Freitag 25 April 2008 19:17:47 schrieb Alexander Neundorf: > Setting the CC, CXX, CFLAGS and CXXFLAGS environment variables when cmake > is run initially should work. > Is this good enough ? Sounds Ok, if that works on Windows as well :) I guess made error as I tried that last time and it seeme

Re: [CMake] How to dictate cmake best CFLAGS/...

2008-04-25 Thread Alexander Neundorf
On Friday 25 April 2008, Christoph Cullmann wrote: > Hi, > > we have a strict set of C/CXX/LDFLAGS we want to pass the toolchain per > default, how can that be accomplished best with cmake? Before, we just used > nmake with handcrafted files using some environment variables. > > I tried to call cma

[CMake] How to dictate cmake best CFLAGS/...

2008-04-25 Thread Christoph Cullmann
Hi, we have a strict set of C/CXX/LDFLAGS we want to pass the toolchain per default, how can that be accomplished best with cmake? Before, we just used nmake with handcrafted files using some environment variables. I tried to call cmake on windows like: "\"$WINPREFIX\\bin\\cmake\" \ -DCMAK