[cmake-developers] [CMake 0014549]: COMPILE_FLAGS just add flags

Mantis Bug Tracker mantis at public.kitware.com
Thu Nov 7 04:08:26 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14549 
====================================================================== 
Reported By:                Leopold Palomo
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14549
Category:                   CMake
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-07 11:08 WAST
Last Modified:              2013-11-07 11:08 WAST
====================================================================== 
Summary:                    COMPILE_FLAGS just add flags
Description: 
It's impossible (AFAIK) to set specific compiler flags by target. The only way
to set it is to use the COMPILE_FLAGS property. But this option just do:

Additional flags to use when compiling this target's sources.

so, it should be interesting to SET the compiler flags at target level, not just
only "add".

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-07 11:08 Leopold Palomo New Issue                                    
======================================================================




More information about the cmake-developers mailing list