View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014526 | CMake | CMake | public | 2013-10-31 03:20 | 2016-06-10 14:31 | ||||
Reporter | David Rogers | ||||||||
Assigned To | Gregor Jasny | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Apple | OS | OS X | OS Version | 10.9 | ||||
Product Version | CMake 2.8.12 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014526: Xcode generator sets incorrect release optimization flag | ||||||||
Description | Xcode projects generated have -O0 set for the release configuration. I think it used to be -O3 but I could be wrong on that. -O0 is certainly incorrect though. | ||||||||
Steps To Reproduce | Create any CMake project, I used the one here: http://www.cmake.org/cmake/help/cmake_tutorial.html [^] Create an Xcode project from it by running cmake -G Xcode . Open the project, look at the incorrect Release configuration optimization flag. | ||||||||
Additional Information | I do not know if 2.8.12 is the first version that is affected by this bug. I have not tried 2.8.11 to double check. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035481) Jan Rüegg (reporter) 2014-03-24 08:43 |
I can confirm this, also adding it to the cxx configuration variable doesn't help. Always set to -O0 |
(0040031) Gregor Jasny (developer) 2015-12-30 08:38 |
with latest master cmake I get the following:$ xcodebuild -showBuildSettings -target foo -configuration Release |grep OPTI GCC_OPTIMIZATION_LEVEL = 3 OPTIMIZATION_LEVEL = 0 Xcode itself shows "fastest" for optimization level, so I guess with Xcode 7 the GCC_ variant is used. Does this bug still occur to you? If yes what Xcode and CMake version do you use? |
(0042407) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-10-31 03:20 | David Rogers | New Issue | |
2014-03-24 08:43 | Jan Rüegg | Note Added: 0035481 | |
2015-12-30 08:38 | Gregor Jasny | Note Added: 0040031 | |
2015-12-30 08:38 | Gregor Jasny | Assigned To | => Gregor Jasny |
2015-12-30 08:38 | Gregor Jasny | Status | new => assigned |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042407 | |
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |