[cmake-developers] [PATCH 2/9] Xcode: Sort Xcode objects by Id

Brad King brad.king at kitware.com
Tue Apr 14 11:16:38 EDT 2015


On 04/14/2015 10:36 AM, Tim Blechmann wrote:
>> Where is the order stored?
> 
> seems to be the "children" property:
> 
>>  		22AA72931ADD5C9900988B41 = {
>>  			isa = PBXGroup;
>>  			children = (
>> -				22AA729E1ADD5C9900988B41 /* test */,
>>  				22AA72B51ADD5C9900988B41 /* testTests */,
>> +				22AA729E1ADD5C9900988B41 /* test */,
>>  				22AA729D1ADD5C9900988B41 /* Products */,
>>  			);

Take a look at the end of the CreateXCodeObjects method below
the "now add all targets to the root object" comment.  One
may be able to sort the target traversal order in that loop.

-Brad



More information about the cmake-developers mailing list