1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Disable AAX builds for Windows ARM

This commit is contained in:
Oliver James 2024-10-16 14:06:28 +01:00
parent ac0ebe5797
commit 59bd070291

View file

@ -337,6 +337,12 @@ public:
bool isFastMathEnabled() const { return fastMathValue.get(); }
bool isPluginBinaryCopyStepEnabled() const { return pluginBinaryCopyStepValue.get(); }
static bool shouldBuildTarget (build_tools::ProjectType::Target::Type targetType, Architecture arch)
{
return targetType != build_tools::ProjectType::Target::AAXPlugIn
|| (arch != Architecture::arm64 && arch != Architecture::arm64ec);
}
//==============================================================================
String createMSVCConfigName (Architecture arch) const
{
@ -2087,7 +2093,7 @@ protected:
out << "\t\t" << target->getProjectGuid() << "." << configName << "." << "ActiveCfg" << " = " << configName << newLine;
const auto shouldBuild = config.getArchitectures().contains (arch);
const auto shouldBuild = config.shouldBuildTarget (target->type, arch) && config.getArchitectures().contains (arch);
if (shouldBuild)
out << "\t\t" << target->getProjectGuid() << "." << configName << "." << "Build.0" << " = " << configName << newLine;