summaryrefslogtreecommitdiff
path: root/Source/cmXCodeScheme.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-02-24 18:47:58 +0100
committerGregor Jasny <gjasny@googlemail.com>2017-02-28 22:38:29 +0100
commitf4977d056b2295679ce723c639f16823cfe489d5 (patch)
treeec863c21abdeee9175abc70ec2d2656a1a156270 /Source/cmXCodeScheme.h
parent7202db5db46bfe7499244af315249820e883c8cf (diff)
downloadcmake-f4977d056b2295679ce723c639f16823cfe489d5.tar.gz
Xcode: Select executable target for execution in schema
Diffstat (limited to 'Source/cmXCodeScheme.h')
-rw-r--r--Source/cmXCodeScheme.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmXCodeScheme.h b/Source/cmXCodeScheme.h
index 7a7d9301ea..470b5fd56c 100644
--- a/Source/cmXCodeScheme.h
+++ b/Source/cmXCodeScheme.h
@@ -24,6 +24,7 @@ public:
const std::string& container);
private:
+ const cmXCodeObject* const Target;
const std::string& TargetName;
const std::string& TargetId;
const std::vector<std::string>& ConfigList;
@@ -41,6 +42,8 @@ private:
std::string WriteVersionString();
std::string FindConfiguration(const std::string& name);
+
+ static bool IsExecutable(const cmXCodeObject* target);
};
#endif