summaryrefslogtreecommitdiff
path: root/Source/cmLocalXCodeGenerator.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-02-08 17:30:48 +1100
committerCraig Scott <craig.scott@crascit.com>2021-02-08 18:02:46 +1100
commit0110aa018d81a7b0f1f9371fcd038b71fefae554 (patch)
treeb6232f4855654052c2eba15f663154ec19dc2b55 /Source/cmLocalXCodeGenerator.h
parentf0257a87a3c282e2ea0c0a06556d4fedeb4cfe95 (diff)
downloadcmake-0110aa018d81a7b0f1f9371fcd038b71fefae554.tar.gz
IOS_INSTALL_COMBINED: Support Xcode 12 (command line only)
Xcode 12 doesn't allow nested builds within the same build directory. That means we can no longer do an install by building the install target when IOS_INSTALL_COMBINED is true. We can, however, still do an install by running the cmake_install.cmake script or executing cmake --install, since there is no outer build and therefore the associated SDK can be built as a sub-build. The non-build methods previously didn't work when IOS_INSTALL_COMBINED was true because the generated install script and the CMakeIOSInstallCombined script both made certain assumptions that relied on being part of a build. Those assumptions are now removed. A side-effect of this work is that cpack now also works from the command line when IOS_INSTALL_COMBINED is true. Relates: #21282 Fixes: #20023
Diffstat (limited to 'Source/cmLocalXCodeGenerator.h')
-rw-r--r--Source/cmLocalXCodeGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalXCodeGenerator.h b/Source/cmLocalXCodeGenerator.h
index dd038b462d..5f72f6d6c4 100644
--- a/Source/cmLocalXCodeGenerator.h
+++ b/Source/cmLocalXCodeGenerator.h
@@ -32,7 +32,7 @@ public:
void AppendFlagEscape(std::string& flags,
const std::string& rawFlag) const override;
void Generate() override;
- virtual void GenerateInstallRules();
+ void AddGeneratorSpecificInstallSetup(std::ostream& os) override;
void ComputeObjectFilenames(
std::map<cmSourceFile const*, std::string>& mapping,
cmGeneratorTarget const* gt = nullptr) override;