[CMake] Librarian Flags

Aaron_Wright at selinc.com Aaron_Wright at selinc.com
Fri Apr 9 12:47:28 EDT 2010


I'm working with MSVC 9.0 2008 and I want to add a flag (/LTCG) to the 
librarian command line.

I can add flags to the linker successfully with:

SET_PROPERTY(TARGET ${TARGET} PROPERTY LINK_FLAGS "${LINK_FLAGS}")

But this doesn't seem to translate to the librarian command line. I 
couldn't find a flags variable for the librarian. Am I missing it?

(The librarian is what creates my static libraries)
-------------------------------------------------------------
Aaron Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100409/cc4b2d82/attachment.htm>


More information about the CMake mailing list