[CMake] how to add additional linker options

Vinay Raj Hampapur vinayraj.hampapur at gmail.com
Tue Aug 9 12:46:36 EDT 2011


Hello,
    I need to add to provide additional linker options to the program from
within my CMakeLists.txt targeted at MSVC platform. In particular, I would
like to add the /FORCE:Multiply option to the linker. How would I go about
doing this?
Also, how would I set the options to suppress any (all) warnings generated?

Thanks,
Vinay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110809/d982ffcd/attachment.htm>


More information about the CMake mailing list