MantisBT - CMake
View Issue Details
0011092CMakeCMakepublic2010-08-03 19:062012-03-06 08:37
David Rogers 
David Cole 
normalmajoralways
closedno change required 
CMake-2-8 
CMake 2.8.6 
0011092: iOS SDK now supports deployment targets, no way to set from CMake
In iOS SDK 4.0, Apple added support for a deployment target. Which works identical to the same feature on OS X but has a different variable name. IPHONEOS_DEPLOYMENT_TARGET

Support for this in CMake would be wonderful.
No tags attached.
Issue History
2010-08-03 19:06David RogersNew Issue
2010-11-27 00:03Michael ToyNote Added: 0023560
2011-01-06 16:36Bill HoffmanNote Added: 0024489
2011-01-06 16:39David RogersNote Added: 0024490
2011-01-17 17:01David ColeAssigned To => David Cole
2011-01-17 17:01David ColeStatusnew => assigned
2011-10-03 10:45David ColeNote Added: 0027510
2011-10-03 10:45David ColeStatusassigned => resolved
2011-10-03 10:45David ColeFixed in Version => CMake 2.8.6
2011-10-03 10:45David ColeResolutionopen => no change required
2012-03-06 08:37David ColeNote Added: 0028813
2012-03-06 08:37David ColeStatusresolved => closed

Notes
(0023560)
Michael Toy   
2010-11-27 00:03   
We do something like this:

macro(set_xcode_property targ xc_prop_name xc_prop_val)
    set_property( TARGET ${targ} PROPERTY XCODE_ATTRIBUTE_${xc_prop_name} ${xc_prop_val} )
endmacro(set_xcode_property)
set_xcode_property( my_target IPHONEOS_DEPLOYMENT_TARGET "3.2" )
(0024489)
Bill Hoffman   
2011-01-06 16:36   
Is this still an issue?
(0024490)
David Rogers   
2011-01-06 16:39   
Not anymore. It would be nice that property could exposed in the same way as the OS X one without using a macro. But at least there is a work around.
(0027510)
David Cole   
2011-10-03 10:45   
Please use the XCODE_ATTRIBUTE_ target property as mentioned in previous notes.
(0028813)
David Cole   
2012-03-06 08:37   
Closing resolved issues that have not been updated in more than 4 months.