View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010263CMakeCMakepublic2010-02-10 02:122013-03-13 11:35
ReporterPhilip Lowman 
Assigned ToDavid Cole 
PrioritylowSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.5Fixed in VersionCMake 2.8.5 
Summary0010263: /GL flag for Visual Studio 7 does not cause "WholeProgramOptimization" to be set in project file (i.e. GUI)
DescriptionThis 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.
TagsNo tags attached.
Attached Filesdiff file icon msvc_gl_flagpatch.diff [^] (939 bytes) 2010-02-10 02:12 [Show Content]

 Relationships
related to 0014009closedKitware Robot /LTCG option does not cause LinkTimeCodeGeneration to be set in project file 

  Notes
(0025198)
David Cole (manager)
2011-02-01 13:40

Fix pushed to 'next':
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6cf5772a934f8408dbf0615a0a981239f461a28f [^]
(0026712)
David Cole (manager)
2011-06-06 18:25

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-02-10 02:12 Philip Lowman New Issue
2010-02-10 02:12 Philip Lowman File Added: msvc_gl_flagpatch.diff
2011-01-17 13:01 David Cole Assigned To => David Cole
2011-01-17 13:01 David Cole Status new => assigned
2011-02-01 13:40 David Cole Note Added: 0025198
2011-02-01 13:40 David Cole Status assigned => resolved
2011-02-01 13:40 David Cole Resolution open => fixed
2011-02-16 11:41 David Cole Target Version => CMake 2.8.5
2011-06-06 18:25 David Cole Status resolved => closed
2011-06-06 18:25 David Cole Note Added: 0026712
2011-06-17 18:08 David Cole Fixed in Version => CMake 2.8.5
2013-03-13 11:35 Brad King Relationship added related to 0014009


Copyright © 2000 - 2018 MantisBT Team