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
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers