[CMake] Unix make files and CMAKE_EXE_LINKER_FLAGS_RELEASE

Neal Meyer nmeyer at dottedzebra.com
Fri Feb 6 19:48:52 EST 2009


I have something like the following in my CMakeLists file.

 set( CMAKE_EXE_LINKER_FLAGS_DEBUG "-lboost_regex-xgcc40-mt-d" )
 set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-lboost_regex-xgcc40-mt" )

and then a exe that needs this library to link....

However the makefile doesn't actually add this option in.  If i use
CMAKE_EXE_LINKER_FLAGS it works fine.  Am I missing something?

using CMake 2.6.2

-Neal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090206/b05f4efe/attachment.htm>


More information about the CMake mailing list