Re: [CMake] Visual Studio with static runtime

2010-01-15 Thread Philip Lowman
On Fri, Jan 15, 2010 at 1:21 PM, Dave Partyka wrote: > I think you just change the appropriate flag in > CMAKE_CXX_FLAGS_ 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/l

Re: [CMake] Visual Studio with static runtime

2010-01-15 Thread Dave Partyka
I think you just change the appropriate flag in CMAKE_CXX_FLAGS_ 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,

[CMake] Visual Studio with static runtime

2010-01-15 Thread Jochen Wilhelmy
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