MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010263 | CMake | CMake | public | 2010-02-10 02:12 | 2013-03-13 11:35 |
|
| Reporter | Philip Lowman | |
| Assigned To | David Cole | |
| Priority | low | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | CMake-2-8 | |
| Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | |
|
| Summary | 0010263: /GL flag for Visual Studio 7 does not cause "WholeProgramOptimization" to be set in project file (i.e. GUI) |
| Description | 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. |
| Steps To Reproduce | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | 0014009 | closed | Kitware Robot | /LTCG option does not cause LinkTimeCodeGeneration to be set in project file |
|
| Attached Files | msvc_gl_flagpatch.diff (939) 2010-02-10 02:12 https://public.kitware.com/Bug/file/2853/* |
|
| 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 |