MantisBT - CMake
View Issue Details
0010263CMakeCMakepublic2010-02-10 02:122013-03-13 11:35
Philip Lowman 
David Cole 
lowtweakalways
closedfixed 
CMake-2-8 
CMake 2.8.5CMake 2.8.5 
0010263: /GL flag for Visual Studio 7 does not cause "WholeProgramOptimization" to be set in project file (i.e. GUI)
This patch sets WholeProgramOptimization (C/C++->Optimization->WholeProgramOptimization) when /GL is present, setting it to FALSE when /GL- is present (not sure why you would ever need /GL- since the default is off).

Also, not sure if this should be fixed or not, but the reference to LTCG as a compiler flag is an error since it's a linker flag (see also 0006794). It probably could be removed from cmGlobalVisualStudio7Generator.cxx:655. Passing LTCG to the MSVC compiler does generate a warning but I'm not sure what else it does.
No tags attached.
related to 0014009closed Kitware Robot /LTCG option does not cause LinkTimeCodeGeneration to be set in project file 
diff msvc_gl_flagpatch.diff (939) 2010-02-10 02:12
https://public.kitware.com/Bug/file/2853/*
Issue History
2010-02-10 02:12Philip LowmanNew Issue
2010-02-10 02:12Philip LowmanFile Added: msvc_gl_flagpatch.diff
2011-01-17 13:01David ColeAssigned To => David Cole
2011-01-17 13:01David ColeStatusnew => assigned
2011-02-01 13:40David ColeNote Added: 0025198
2011-02-01 13:40David ColeStatusassigned => resolved
2011-02-01 13:40David ColeResolutionopen => fixed
2011-02-16 11:41David ColeTarget Version => CMake 2.8.5
2011-06-06 18:25David ColeStatusresolved => closed
2011-06-06 18:25David ColeNote Added: 0026712
2011-06-17 18:08David ColeFixed in Version => CMake 2.8.5
2013-03-13 11:35Brad KingRelationship addedrelated to 0014009

Notes
(0025198)
David Cole   
2011-02-01 13:40   
Fix pushed to 'next':
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6cf5772a934f8408dbf0615a0a981239f461a28f [^]
(0026712)
David Cole   
2011-06-06 18:25   
Closing resolved issues that have not been updated in more than 3 months.