diff options
author | lapfelix <felix@lapal.me> | 2024-04-04 23:11:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-04-10 18:33:57 (GMT) |
commit | 1fa2ec1bbd357f3dbc17bd03e2b7f0c17507a38f (patch) | |
tree | 542f7747aa980cf2696a1c7005e7eae1e2504db1 /Source/cmGlobalXCodeGenerator.h | |
parent | 1a315c55e3c934d1eead9842adaad66c0079ce5e (diff) | |
download | CMake-1fa2ec1bbd357f3dbc17bd03e2b7f0c17507a38f.zip CMake-1fa2ec1bbd357f3dbc17bd03e2b7f0c17507a38f.tar.gz CMake-1fa2ec1bbd357f3dbc17bd03e2b7f0c17507a38f.tar.bz2 |
Xcode: Use deterministic object ids for targets
When a CMake-generated Xcode project is included in another Xcode project,
the used targets' object ids are kept as `remoteGlobalIDString`.
Make the ids deterministic and somewhat independent of the build
tree location.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 12a5cad..2375e95 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -161,6 +161,7 @@ private: bool CreateGroups(std::vector<cmLocalGenerator*>& generators); std::string XCodeEscapePath(const std::string& p); std::string RelativeToSource(const std::string& p); + std::string RelativeToRootBinary(const std::string& p); std::string RelativeToBinary(const std::string& p); std::string ConvertToRelativeForMake(std::string const& p); void CreateCustomCommands( |