[cmake-developers] [PATCH 2/9] Xcode: Sort Xcode objects by Id
Tim Blechmann
tim at klingt.org
Tue Apr 14 10:36:44 EDT 2015
>>> 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)
>
> If Xcode can save and load projects with user-specified ordering then
> CMake may be able to generate things accordingly. Try creating a project
> with the IDE, saving it, copying it, and then updating the order in the
> IDE and saving again. Compare the saved project files. Where is the
> order stored?
seems to be the "children" property:
> --- tset/test.xcodeproj/project.pbxproj 2015-04-14 16:33:49.000000000 +0200
> +++ test/test.xcodeproj/project.pbxproj 2015-04-14 16:34:08.000000000 +0200
> @@ -61,8 +61,8 @@
> 22AA72931ADD5C9900988B41 = {
> isa = PBXGroup;
> children = (
> - 22AA729E1ADD5C9900988B41 /* test */,
> 22AA72B51ADD5C9900988B41 /* testTests */,
> + 22AA729E1ADD5C9900988B41 /* test */,
> 22AA729D1ADD5C9900988B41 /* Products */,
> );
> sourceTree = "<group>";
More information about the cmake-developers
mailing list