MantisBT - CMake
View Issue Details
0009904CMakeCMakepublic2009-11-16 05:312011-01-12 07:09
Nils Gladitz 
Brad King 
normalminoralways
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0009904: macros defined in Windows-cl.cmake should be added to Windows-icl.cmake
Windows-cl.cmake adds preprocessor macros WIN32 _WINDOWS _DEBUG and NDEBUG
which are missing from Windows-icl.cmake:

e.g. Windows-cl.cmake:
 SET (CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR")
vs Windows-icl.cmake:
 SET (CMAKE_CXX_FLAGS_INIT "/W3 /Zm1000 /GX /GR")

also this looks kind of suspicious (Windows-icl.cmake):
 # default to Debug builds
 #SET(CMAKE_BUILD_TYPE_INIT Debug)
 SET(CMAKE_BUILD_TYPE_INIT Release)
No tags attached.
Issue History
2009-11-16 05:31Nils GladitzNew Issue
2009-11-16 05:38Nils GladitzNote Added: 0018442
2010-12-15 09:07David ColeAssigned To => Brad King
2010-12-15 09:07David ColeStatusnew => assigned
2010-12-16 08:26Brad KingNote Added: 0024204
2010-12-16 08:26Brad KingStatusassigned => closed
2010-12-16 08:26Brad KingResolutionopen => fixed
2011-01-12 07:09David ColeFixed in Version => CMake 2.8.4
2011-01-12 07:09David ColeTarget Version => CMake 2.8.4

Notes
(0018442)
Nils Gladitz   
2009-11-16 05:38   
P.S. I'm using the Visual Studio 2005 generator with CC/CXX set to "icl" (intel compiler).
CMake generated solutions are manually converted with:
"%CommonProgramFiles%\Intel\shared files\ia32\Bin\ICProjConvert110.exe"
(0024204)
Brad King   
2010-12-16 08:26   
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3fb088e5 [^]