summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeScheme.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2018-07-29 19:37:18 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-01 13:12:42 (GMT)
commit6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b (patch)
treec1a0601913c23007b1bddf1e02e10f50f42e5094 /Source/cmXCodeScheme.h
parent39c91d07035d6fb8bddc6e02ee391a0f095e47ee (diff)
downloadCMake-6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b.zip
CMake-6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b.tar.gz
CMake-6b7f1e1db0d84d9d83a34c7aee94967526ed2b0b.tar.bz2
Xcode: Add variables and properties to configure schemes
Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
Diffstat (limited to 'Source/cmXCodeScheme.h')
-rw-r--r--Source/cmXCodeScheme.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmXCodeScheme.h b/Source/cmXCodeScheme.h
index e5e501a..96c76e6 100644
--- a/Source/cmXCodeScheme.h
+++ b/Source/cmXCodeScheme.h
@@ -41,6 +41,16 @@ private:
const std::string& container);
void WriteLaunchAction(cmXMLWriter& xout, const std::string& configuration,
const std::string& container);
+
+ bool WriteLaunchActionAttribute(cmXMLWriter& xout,
+ const std::string& attrName,
+ const std::string& varName);
+
+ bool WriteLaunchActionAdditionalOption(cmXMLWriter& xout,
+ const std::string& attrName,
+ const std::string& value,
+ const std::string& varName);
+
void WriteProfileAction(cmXMLWriter& xout, const std::string& configuration);
void WriteAnalyzeAction(cmXMLWriter& xout, const std::string& configuration);
void WriteArchiveAction(cmXMLWriter& xout, const std::string& configuration);