[cmake-developers] [PATCH 0/9] Xcode: Generate stable project files
Gregor Jasny
gjasny at googlemail.com
Mon Apr 13 15:37:57 EDT 2015
Hello,
this patch series aims to minimize deltas between the CMake Xcode
generator and Xcode itself. It was started by the observation that
if one makes any change to the project within Xcode (e.g. to see
how a variable is called internally) the user cannot diff the CMake
project and the one stored by Xcode afterwards.
The major difference now is that Xcode objects are sorted before
project generation so that they appear sorted within the individual
sections.
Indention is done by using tabs instead of seven spaces.
I tested this series with Xcode 6.3 and Xcode 3.2. Both show a
reduced diff after this series was applied.
I have more unfinished patches which further reduce the delta.
Thanks,
Gregor
Gregor Jasny (9):
Xcode: Indent using tabs
Xcode: Sort Xcode objects by Id
Xcode: Add comment after root object
Xcode: Remove extra space in PBXProject comment
Xcode: Properly indent PBXFileReference and PBXBuildFile
Xcode: Do not add whitespace after attribute group opening brace
Xcode: PrintComment will prepend a whitespace itself before the
comment
Xcode: Let PrintComment decide if the comment is non-empty
Xcode: Refine quoting rules for Strings
Source/cmGlobalXCodeGenerator.cxx | 21 +++++++++++++++++++--
Source/cmGlobalXCodeGenerator.h | 1 +
Source/cmXCode21Object.cxx | 6 +++++-
Source/cmXCodeObject.cxx | 22 +++++++++++-----------
.../XcodeProject/XcodeFileType-check.cmake | 4 ++--
5 files changed, 38 insertions(+), 16 deletions(-)
--
2.3.3
More information about the cmake-developers
mailing list