| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0036720) Brad King (manager) 2014-09-03 11:10 |
FYI, questions like this are better raised on the mailing list: http://www.cmake.org/mailman/listinfo/cmake [^] In this case you could even consider going to a KDE mailing list because IIUC it is their code that chooses to add the flags after the user value instead of before. |
|
(0038103) Robert Maynard (manager) 2015-03-02 08:57 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |