mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Don't run scripts on non-built targets
This commit is contained in:
parent
b9c6f7833b
commit
3ec4707217
1 changed files with 9 additions and 0 deletions
|
|
@ -1027,6 +1027,15 @@ public:
|
||||||
libPath->addTextElement ("$(LibraryPath);" + librarySearchPaths.joinIntoString (";"));
|
libPath->addTextElement ("$(LibraryPath);" + librarySearchPaths.joinIntoString (";"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto enabled = config.getArchitectures().contains (arch) ? "true" : "false";
|
||||||
|
|
||||||
|
for (const auto optionName : { "PreBuildEventUseInBuild", "PostBuildEventUseInBuild" })
|
||||||
|
{
|
||||||
|
auto* tag = props->createNewChildElement (optionName);
|
||||||
|
setConditionAttribute (*tag, config, arch);
|
||||||
|
tag->addTextElement (enabled);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue