On 10/01/2010 03:55 PM, Marek Szuba wrote: > Hello, > > How can one define C++ compiler flags which are used ONLY at compile time? > Traditional LDFLAGS appear to clearly map to CMAKE_xxx_LINKER_FLAGS, however > CMAKE_CXX_FLAGS work differently from what I would like - they are passed to > both the compiler and the linker.
...and that's possibly necessary: <http://www.cmake.org/pipermail/cmake/2010-September/039843.html> Regards, Michael _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake