[CMake] Visual Studio with static runtime

Jochen Wilhelmy j.wilhelmy at arcor.de
Fri Jan 15 13:10:47 EST 2010


Hi!

is there a solution for creating visual studio project files with static 
runtime?
(i.e. RuntimeLibrary = 0 instead of 2 etc.)

all four values are:
MultiThreaded = 0
MultiThreadedDLL = 2
MultiThreadedDebug = 1
MultiThreadedDebugDLL = 3

I need 0 and 1 instead of 2 and 3.

perhaps this could be new generators e.g. "Visual Studio 9 2008 static"
just like "Visual Studio 9 2008 Win64"

An even better solution would be generator options.
the generator then only is "Visual Studio" and options are
the version number, 32/64 bit, dll/static etc.

-Jochen




More information about the CMake mailing list