Browse Source

Always add build scripts - even for Aggregate targets

tags/2021-05-28
hogliux 9 years ago
parent
commit
e12c801846
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      extras/Projucer/Source/Project Saving/jucer_ProjectExport_XCode.h

+ 4
- 7
extras/Projucer/Source/Project Saving/jucer_ProjectExport_XCode.h View File

@@ -1593,10 +1593,10 @@ private:
if (! projectType.isStaticLibrary() && target.type != Target::SharedCodeTarget)
target.addBuildPhase ("PBXFrameworksBuildPhase", target.frameworkIDs);
target.addShellScriptBuildPhase ("Post-build script", getPostBuildScript());
}
target.addShellScriptBuildPhase ("Post-build script", getPostBuildScript());
if (project.getProjectType().isAudioPlugin() && project.shouldBuildAUv3().getValue()
&& project.shouldBuildStandalone().getValue() && target.type == Target::StandalonePlugIn)
embedAppExtension();
@@ -1661,11 +1661,8 @@ private:
v->setProperty ("isa", target.type == Target::AggregateTarget ? "PBXAggregateTarget" : "PBXNativeTarget", nullptr);
v->setProperty ("buildConfigurationList", createID (String ("__configList") + targetName), nullptr);
if (target.type != Target::AggregateTarget)
{
v->setProperty ("buildPhases", indentParenthesisedList (target.buildPhaseIDs), nullptr);
v->setProperty ("buildRules", "( )", nullptr);
}
v->setProperty ("buildPhases", indentParenthesisedList (target.buildPhaseIDs), nullptr);
v->setProperty ("buildRules", "( )", nullptr);
v->setProperty ("dependencies", indentParenthesisedList (getTargetDependencies (target)), nullptr);
v->setProperty (Ids::name, target.getXCodeSchemeName(), nullptr);


Loading…
Cancel
Save