MantisBT - CMake
View Issue Details
0009831CMakeCMakepublic2009-11-03 19:312013-07-01 09:37
Paul Oppenheim (Poppy Linden) 
Brad King 
normalfeaturealways
closedfixed 
CMake-2-8 
CMake 2.8.11CMake 2.8.11 
0009831: Need method to set properties on every target / set defaults
There is currently no mechanism provided by cmake to provide target "default" properties.
There is currently no mechanism provided by cmake to provide target "default" properties.

For instance, we would like to globally set

set_target_properties(myproj PROPERTIES XCODE_ATTRIBUTE_GCC_VERSION "4.0")

for all targets in one common place, instead of individually for each target (and thus raising chances for error / unplanned divergence)
No tags attached.
related to 0010722closed Brad King Add PlatformToolset support to Visual Studio 2010 generator 
has duplicate 0013802closed  set_property doesn't work for CMAKE_XCODE_ATTRIBUTE_ 
Issue History
2009-11-03 19:31Paul Oppenheim (Poppy Linden)New Issue
2009-11-03 19:37Paul Oppenheim (Poppy Linden)Note Added: 0018335
2010-01-20 13:40Bill HoffmanStatusnew => assigned
2010-01-20 13:40Bill HoffmanAssigned To => Brad King
2012-08-13 10:36Brad KingStatusassigned => backlog
2012-08-13 10:36Brad KingNote Added: 0030488
2012-12-20 11:01Brad KingRelationship addedhas duplicate 0013802
2013-02-08 13:52Brad KingNote Added: 0032230
2013-02-08 13:52Brad KingStatusbacklog => resolved
2013-02-08 13:52Brad KingResolutionopen => fixed
2013-02-08 13:52Brad KingFixed in Version => CMake 2.8.11
2013-02-08 13:52Brad KingTarget Version => CMake 2.8.11
2013-02-08 13:52Brad KingRelationship addedrelated to 0010722
2013-07-01 09:37Robert MaynardNote Added: 0033417
2013-07-01 09:37Robert MaynardStatusresolved => closed

Notes
(0018335)
Paul Oppenheim (Poppy Linden)   
2009-11-03 19:37   
each scope has its own properties; i imagine there will need to be a new scope, such as TARGET_DEFAULTS which has the same properties as TARGET.
(0030488)
Brad King   
2012-08-13 10:36   
Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0032230)
Brad King   
2013-02-08 13:52   
Support for a "generator toolset" feature has been added here:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7dab9977 [^]

One may now run cmake on the command line with

 -G "Xcode" -T "4.0"

to ask for a specific toolset (GCC_VERSION inside the Xcode project).
(0033417)
Robert Maynard   
2013-07-01 09:37   
Closing resolved issues that have not been updated in more than 4 months.