The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15127 
====================================================================== 
Reported By:                René J.V. Bertin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15127
Category:                   CMake
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-09-03 17:08 CEST
Last Modified:              2014-09-03 17:08 CEST
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-09-03 17:08 René J.V. BertinNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to