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

Brad King brad.king at kitware.com
Tue Apr 14 09:25:22 EDT 2015


On 04/14/2015 04:15 AM, Tim Blechmann wrote:
> 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.

-Brad



More information about the cmake-developers mailing list