2007/6/14, David Cole <[EMAIL PROTECTED]>:
It's "advanced" CMake use, but you might want to have a look at overriding
the CMake "rule variable" CMAKE_CXX_CREATE_STATIC_LIBRARY.
(Or _C_ if it's C source code.) You should be able to add some linker flags
in there, although they may apply to all static libraries built in the whole
project. I'm not 100% clear myself on how these rule variables work...
Perhaps somebody else who has used a technique like this can chime in?
Setting CMAKE_CXX_CREATE_STATIC_LIBRARY has no effect on the generated
vcproj file. In fact, the value set by CMake in
CMakeCXXInformation.cmake does not seem to be used in the vcproj file.
--
/Jesper
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake