MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015127 | CMake | CMake | public | 2014-09-03 11:08 | 2015-03-02 08:57 |
Reporter | René J.V. Bertin | ||||
Assigned To | |||||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | Macintosh (main) | OS | OS X / Linux | OS Version | 10.6.8 |
Product Version | CMake 3.0 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015127: command line CXX_FLAG settings overridden by settings in system-wide .cmake files | ||||
Description | KDE defines a number of compiler options that are (supposedly) required but that include optimisation options. These settings are defined in system-wide .cmake files like FindKDE4Internal.cmake and get applied *after* user-specified settings have been applied. They even seem to override tweaks made directly in CMakeCache.txt (to CMAKE_CXX_FLAGS_RELEASE or _RELWITHDEBINFO). Even if user-specified compiler flags do make it to the list in the generated *.make files, the KDE/system-defined options are *appended* to the list, causing -O2 to override -O3 or -g -g3. Is it possible to specify the KDE/system options in such a way that they appear at the start of the options list in the *.make files? | ||||
Steps To Reproduce | N/A | ||||
Additional Information | Not really a bug, more a question and possibly a feature request. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-09-03 11:08 | René J.V. Bertin | New Issue | |||
2014-09-03 11:10 | Brad King | Note Added: 0036720 | |||
2014-09-03 11:11 | Brad King | Status | new => resolved | ||
2014-09-03 11:11 | Brad King | Resolution | open => suspended | ||
2015-03-02 08:57 | Robert Maynard | Note Added: 0038103 | |||
2015-03-02 08:57 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|