[CMake] CFLAGS and visual studio project properties

Brad King brad.king at kitware.com
Thu Apr 27 10:37:51 EDT 2006


Xavier Delannoy wrote:
> Brad King <brad.king at kitware.com> wrote:
>>Xavier Delannoy wrote:
>>>I use cmake 2.3 (KDE release).
>>>I'm not able to force /MD in release build and /MDd in debug build. here is how I proceed: 
>>Is this a C or C++ project file?  If it is C++ you need to use 
>>CMAKE_CXX_FLAGS* instead of CMAKE_C_FLAGS*.
> 
> It's a C project.

What is the exact version number you are using?

   cmake --version

I think this was fixed somewhat recently and may be okay in the 2.4.0 
beta (for which you'll also need the fixed Windows-cl.cmake in the 
download directory).  A 2.4.1 beta should be out soon too.

-Brad


More information about the CMake mailing list