[CMake] Separate CXXFLAGS and LDFLAGS
Michael Hertling
mhertling at online.de
Fri Oct 1 10:40:29 EDT 2010
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
More information about the CMake
mailing list