summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
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/cmTarget.cxx
parentd2101e944a03056dc2180dd790ba85175e04d653 (diff)
downloadCMake-413b71485a456456e204183f0d62e11e1ec3c1da.zip
CMake-413b71485a456456e204183f0d62e11e1ec3c1da.tar.gz
CMake-413b71485a456456e204183f0d62e11e1ec3c1da.tar.bz2
Xcode: Create Xcode schemes per target
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 46f930a..c0b9ba1 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -283,6 +283,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
this->SetPropertyDefault("FOLDER", nullptr);
#ifdef __APPLE__
if (this->GetGlobalGenerator()->IsXcode()) {
+ this->SetPropertyDefault("XCODE_GENERATE_SCHEME", nullptr);
this->SetPropertyDefault("XCODE_SCHEME_ADDRESS_SANITIZER", nullptr);
this->SetPropertyDefault(
"XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN", nullptr);