summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-22 13:15:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-22 13:16:02 (GMT)
commit3744bd0a0afa696546afa3bd128c2c1825fd2fdb (patch)
tree6087199e98c637f4e255ef5b25662be8d6dc807e /Source/cmTarget.cxx
parent94be5f9344aa770d38bc5487aa57ba9566512a1e (diff)
parent413b71485a456456e204183f0d62e11e1ec3c1da (diff)
downloadCMake-3744bd0a0afa696546afa3bd128c2c1825fd2fdb.zip
CMake-3744bd0a0afa696546afa3bd128c2c1825fd2fdb.tar.gz
CMake-3744bd0a0afa696546afa3bd128c2c1825fd2fdb.tar.bz2
Merge topic 'xcodescheme2'
413b71485a Xcode: Create Xcode schemes per target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3098
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);