diff options
author | Harry Mallon <hjmallon@gmail.com> | 2019-03-11 12:57:39 (GMT) |
---|---|---|
committer | Harry Mallon <hjmallon@gmail.com> | 2019-03-21 16:50:41 (GMT) |
commit | 413b71485a456456e204183f0d62e11e1ec3c1da (patch) | |
tree | 54a69634dd466a5b02846c29d018fc3c2ecbf892 /Source/cmTarget.cxx | |
parent | d2101e944a03056dc2180dd790ba85175e04d653 (diff) | |
download | CMake-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.cxx | 1 |
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); |