summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeScheme.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2019-11-18 21:01:04 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2019-11-18 21:34:34 (GMT)
commit92c4c852db821bc75ef0a20db4855e3af57ef80d (patch)
tree899d2fb78c0ecc900572cd33ee5169e1f759a883 /Source/cmXCodeScheme.h
parentcbedead9a25c12272918f1f70c8a1e1417605728 (diff)
downloadCMake-92c4c852db821bc75ef0a20db4855e3af57ef80d.zip
CMake-92c4c852db821bc75ef0a20db4855e3af57ef80d.tar.gz
CMake-92c4c852db821bc75ef0a20db4855e3af57ef80d.tar.bz2
Xcode: Add custom working directory property
Closes: #19967
Diffstat (limited to 'Source/cmXCodeScheme.h')
-rw-r--r--Source/cmXCodeScheme.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmXCodeScheme.h b/Source/cmXCodeScheme.h
index dff5e35..da40856 100644
--- a/Source/cmXCodeScheme.h
+++ b/Source/cmXCodeScheme.h
@@ -20,7 +20,7 @@ class cmXCodeScheme
public:
using TestObjects = std::vector<const cmXCodeObject*>;
- cmXCodeScheme(cmXCodeObject* xcObj, TestObjects tests,
+ cmXCodeScheme(cmLocalGenerator* lg, cmXCodeObject* xcObj, TestObjects tests,
const std::vector<std::string>& configList,
unsigned int xcVersion);
@@ -28,6 +28,7 @@ public:
const std::string& container);
private:
+ cmLocalGenerator* const LocalGenerator;
const cmXCodeObject* const Target;
const TestObjects Tests;
const std::string& TargetName;
@@ -63,6 +64,9 @@ private:
void WriteBuildableReference(cmXMLWriter& xout, const cmXCodeObject* xcObj,
const std::string& container);
+ void WriteCustomWorkingDirectory(cmXMLWriter& xout,
+ const std::string& configuration);
+
std::string WriteVersionString();
std::string FindConfiguration(const std::string& name);