mirror of
https://github.com/reactos/CMake.git
synced 2025-01-31 08:52:21 +00:00
Xcode: Use proper buildable name for schema
This commit is contained in:
parent
f4977d056b
commit
54a48c6781
@ -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();
|
||||
|
@ -26,6 +26,7 @@ public:
|
||||
private:
|
||||
const cmXCodeObject* const Target;
|
||||
const std::string& TargetName;
|
||||
const std::string BuildableName;
|
||||
const std::string& TargetId;
|
||||
const std::vector<std::string>& ConfigList;
|
||||
const unsigned int XcodeVersion;
|
||||
|
Loading…
x
Reference in New Issue
Block a user