[CMake] cmake & MSVC 'runtime library linking'

William A. Hoffman billlist at nycap.rr.com
Wed Dec 14 12:11:52 EST 2005


You can change those flags in CMAKE_CXX_FLAGS and CMAKE_C_FLAGS.
Also, CMAKE_CXX_FLAGS_(DEBUG|RELEASE|MINSIZEREL|RELWITHDEBINFO).
Same for CMAKE_C_FLAGS.

-Bill

At 10:14 AM 12/14/2005, xavier delannoy wrote:
>hi,
>
>How to set the "runtime library" option of MSVC project with Cmake ?
>the default value of this option with Cmake is /MD (/MDd in debug).
>I need to build my project with /MT (/MTd).
>
>thanks for answers
>
>Xavier.
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list