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
_______________________________________________
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

Reply via email to