Re: [CMake] CMake Tools for Visual Studio 1.1 Released!

2014-03-14 Thread Simon Sasburg
Maybe you could update the project description to indicate it supports VS2013. When i first clicked the link i got a bit disappointed because it said only 2010 and 2012 are supported. Only when i re-read the mail later i saw 2013 is actually supported. Simon On Tue, Feb 25, 2014 at 2:20 AM,

[CMake] FindQt4 regression (changing QT_QMAKE_EXECUTABLE)

2013-12-05 Thread Simon Sasburg
I've run into a problem after updating my cmake in using the FindQt4 module. It used to be the case that when QT_QMAKE_EXECUTABLE was changed by the user or by a SET(... FORCE) command, all the derived cache entries would be refreshed, however this does not work anymore. The cause seems to be

Re: [CMake] Proper way to build static binaries

2011-09-16 Thread Simon Sasburg
For MSVC I use something like this to allow linking statically to the C/C++ runtime: IF(MSVC) SET(LINK_STATIC_RUNTIME OFF CACHE BOOL Link statically against C/C++ runtime) IF(LINK_STATIC_RUNTIME) foreach(cfgtype ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})

Re: [CMake] MSVC71 WholeProgramOptimization flag (/LTCG) fixed?

2008-10-11 Thread Simon Sasburg
My findings, with visual studio 2008 express, are that you don't really need to have WholeProgramOptimization=TRUE to fix this warning. It suffices to add /LTCG to the link options of all executables and modules. Unfortunately I'm not able to get cmake to add the /LTCG flag to the module link

[CMake] Visual Studio library link flags

2008-10-04 Thread Simon Sasburg
In my application i have 1 executable target, and a number of static support libaries. Often when linking the support libraries, visual studio gives me the following warning: MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to