I think you just change the appropriate flag in CMAKE_CXX_FLAGS_<Config_Type> variable to control this. By Default It uses the Dll runtime via the MD/MDd flags.
See this table for the other variations of this flag. http://msdn.microsoft.com/en-us/library/abx4dbyh(VS.71).aspx On Fri, Jan 15, 2010 at 1:10 PM, Jochen Wilhelmy <j.wilhe...@arcor.de>wrote: > 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 > > > _______________________________________________ > 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 >
_______________________________________________ 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