[cmake-developers] [CMake 0015224]: CMake unconditionally sets WARNING_CFLAGS for each targets overriding project-level option.

Mantis Bug Tracker mantis at public.kitware.com
Tue Oct 28 13:29:26 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15224 
====================================================================== 
Reported By:                Ilya
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15224
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-28 13:29 EDT
Last Modified:              2014-10-28 13:29 EDT
====================================================================== 
Summary:                    CMake unconditionally sets WARNING_CFLAGS for each
targets overriding project-level option.
Description: 
CMake not just sets WARNING_CFLAGS to the following:

    -Wmost
    -Wno-four-char-constants
    -Wno-unknown-pragmas

but also overrides higher-level options e.g. set via CMAKE_XCODE_ATTRIBUTE.

It should remove these 3 definitions, replace them with appropriate Xcode
attributes or prepand WARNINGS_CFLAGS with "$(inherited)" so top-level
attributes will be respected.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-10-28 13:29 Ilya           New Issue                                    
======================================================================



More information about the cmake-developers mailing list