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

Tim Blechmann tim at klingt.org
Tue Apr 14 10:17:32 EDT 2015


>> out of curiosity: what exactly is the id? the uuid identifier or the
>> target name? when ordering targets in the project, it would make sense
>> to order them by target name, as that's what users are used to (iirc the
>> cmake-generated msvc projects are order their targets by target name)
> 
> We don't know exactly what it is because the Xcode format is not
> documented publicly.  I suspect Xcode uses some form of serialization
> tool to store its internal data structures to the .pbxproj file, and
> these are the ids it generates.
> 
> Effectively it is a UUID for our purposes.  The ordering Gregor
> proposes is to match what Xcode writes when it generates the .pbxproj
> file, and we can't choose that.

i see ... is it (easily) possible to lexicographically sort he
user-visible appearance? this is something that can be changed in native
xcode projects (by dragging)



More information about the cmake-developers mailing list