diff options
author | Harry Mallon <hjmallon@gmail.com> | 2019-03-11 12:57:39 +0000 |
---|---|---|
committer | Harry Mallon <hjmallon@gmail.com> | 2019-03-21 16:50:41 +0000 |
commit | 413b71485a456456e204183f0d62e11e1ec3c1da (patch) | |
tree | 54a69634dd466a5b02846c29d018fc3c2ecbf892 /Source/cmGlobalXCodeGenerator.h | |
parent | d2101e944a03056dc2180dd790ba85175e04d653 (diff) | |
download | cmake-413b71485a456456e204183f0d62e11e1ec3c1da.tar.gz |
Xcode: Create Xcode schemes per target
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index b80a9adef0..8daa95be67 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, |