diff options
| author | Gregor Jasny <gjasny@googlemail.com> | 2017-02-25 21:26:17 +0100 |
|---|---|---|
| committer | Gregor Jasny <gjasny@googlemail.com> | 2017-02-28 22:38:30 +0100 |
| commit | 54a48c6781dd02f2ebbdb19a77c9a4fb59e67735 (patch) | |
| tree | 32588146d6c46e280e764da8d3eedc63975df092 /Source/cmXCodeScheme.cxx | |
| parent | f4977d056b2295679ce723c639f16823cfe489d5 (diff) | |
| download | cmake-54a48c6781dd02f2ebbdb19a77c9a4fb59e67735.tar.gz | |
Xcode: Use proper buildable name for schema
Diffstat (limited to 'Source/cmXCodeScheme.cxx')
| -rw-r--r-- | Source/cmXCodeScheme.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmXCodeScheme.cxx b/Source/cmXCodeScheme.cxx index 1596e5c0bf..5c22531d42 100644 --- a/Source/cmXCodeScheme.cxx +++ b/Source/cmXCodeScheme.cxx @@ -15,6 +15,7 @@ cmXCodeScheme::cmXCodeScheme(cmXCodeObject* xcObj, unsigned int xcVersion) : Target(xcObj) , TargetName(xcObj->GetTarget()->GetName()) + , BuildableName(xcObj->GetTarget()->GetFullName()) , TargetId(xcObj->GetId()) , ConfigList(configList) , XcodeVersion(xcVersion) @@ -87,7 +88,7 @@ void cmXCodeScheme::WriteBuildAction(cmXMLWriter& xout, xout.BreakAttributes(); xout.Attribute("BuildableIdentifier", "primary"); xout.Attribute("BlueprintIdentifier", this->TargetId); - xout.Attribute("BuildableName", this->TargetName); + xout.Attribute("BuildableName", this->BuildableName); xout.Attribute("BlueprintName", this->TargetName); xout.Attribute("ReferencedContainer", "container:" + container); xout.EndElement(); @@ -149,7 +150,7 @@ void cmXCodeScheme::WriteLaunchAction(cmXMLWriter& xout, xout.BreakAttributes(); xout.Attribute("BuildableIdentifier", "primary"); xout.Attribute("BlueprintIdentifier", this->TargetId); - xout.Attribute("BuildableName", this->TargetName); + xout.Attribute("BuildableName", this->BuildableName); xout.Attribute("BlueprintName", this->TargetName); xout.Attribute("ReferencedContainer", "container:" + container); xout.EndElement(); |
