summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorHarry Mallon <hjmallon@gmail.com>2019-03-11 12:57:39 (GMT)
committerHarry Mallon <hjmallon@gmail.com>2019-03-21 16:50:41 (GMT)
commit413b71485a456456e204183f0d62e11e1ec3c1da (patch)
tree54a69634dd466a5b02846c29d018fc3c2ecbf892 /Source/cmGlobalXCodeGenerator.h
parentd2101e944a03056dc2180dd790ba85175e04d653 (diff)
downloadCMake-413b71485a456456e204183f0d62e11e1ec3c1da.zip
CMake-413b71485a456456e204183f0d62e11e1ec3c1da.tar.gz
CMake-413b71485a456456e204183f0d62e11e1ec3c1da.tar.bz2
Xcode: Create Xcode schemes per target
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index b80a9ad..8daa95b 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -186,11 +186,12 @@ private:
std::vector<cmLocalGenerator*>& generators);
void OutputXCodeProject(cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& generators);
- bool IsGeneratingScheme(cmLocalGenerator* root) const;
// Write shared scheme files for all the native targets
- void OutputXCodeSharedSchemes(const std::string& xcProjDir);
+ // return true if any were written
+ bool OutputXCodeSharedSchemes(const std::string& xcProjDir,
+ cmLocalGenerator* root);
void OutputXCodeWorkspaceSettings(const std::string& xcProjDir,
- cmLocalGenerator* root);
+ bool hasGeneratedSchemes);
void WriteXCodePBXProj(std::ostream& fout, cmLocalGenerator* root,
std::vector<cmLocalGenerator*>& generators);
cmXCodeObject* CreateXCodeFileReferenceFromPath(const std::string& fullpath,