[cmake-developers] [CMake 0015365]: Provide per-target CXX/C flags

Mantis Bug Tracker mantis at public.kitware.com
Thu Jan 22 10:57:13 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15365 
====================================================================== 
Reported By:                Kevin Wojniak
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15365
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-01-22 10:57 EST
Last Modified:              2015-01-22 10:57 EST
====================================================================== 
Summary:                    Provide per-target CXX/C flags
Description: 
CMake provides CMAKE_CXX_FLAGS, but this is global. It'd be good to have a
per-target CXX flags ability. Possibly a macro such as
target_compile_options_cxx() and target_compile_options_c(), or a way to do this
with generator expressions (doesn't seem to have a LANG property for sources).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-01-22 10:57 Kevin Wojniak  New Issue                                    
======================================================================



More information about the cmake-developers mailing list