mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Projucer: Enable ARM64EC for Visual Studio 2026 exporter
This commit is contained in:
parent
c352e24890
commit
2e72048cd2
1 changed files with 22 additions and 3 deletions
|
|
@ -334,6 +334,7 @@ public:
|
||||||
virtual String getToolsVersion() const = 0;
|
virtual String getToolsVersion() const = 0;
|
||||||
virtual String getDefaultToolset() const = 0;
|
virtual String getDefaultToolset() const = 0;
|
||||||
virtual String getDefaultWindowsTargetPlatformVersion() const = 0;
|
virtual String getDefaultWindowsTargetPlatformVersion() const = 0;
|
||||||
|
virtual void getSupportedArchitectures (std::vector<Architecture>&) const = 0;
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
String getIPPLibrary() const { return IPPLibraryValue.get(); }
|
String getIPPLibrary() const { return IPPLibraryValue.get(); }
|
||||||
|
|
@ -623,9 +624,12 @@ public:
|
||||||
if (project.isAudioPluginProject())
|
if (project.isAudioPluginProject())
|
||||||
addVisualStudioPluginInstallPathProperties (props);
|
addVisualStudioPluginInstallPathProperties (props);
|
||||||
|
|
||||||
const auto architectureList = exporter.getExporterIdentifier() == Identifier { "VS2022" }
|
const auto architectureList = std::invoke ([&]
|
||||||
? std::vector<Architecture> { Architecture::win32, Architecture::win64, Architecture::arm64, Architecture::arm64ec }
|
{
|
||||||
: std::vector<Architecture> { Architecture::win32, Architecture::win64, Architecture::arm64 };
|
std::vector<Architecture> result;
|
||||||
|
static_cast<const MSVCProjectExporterBase&> (exporter).getSupportedArchitectures (result);
|
||||||
|
return result;
|
||||||
|
});
|
||||||
|
|
||||||
Array<String> architectureListAsStrings;
|
Array<String> architectureListAsStrings;
|
||||||
Array<var> architectureListAsVars;
|
Array<var> architectureListAsVars;
|
||||||
|
|
@ -2799,6 +2803,11 @@ public:
|
||||||
String getDefaultToolset() const override { return defaultToolset; }
|
String getDefaultToolset() const override { return defaultToolset; }
|
||||||
String getDefaultWindowsTargetPlatformVersion() const override { return defaultTargetPlatform; }
|
String getDefaultWindowsTargetPlatformVersion() const override { return defaultTargetPlatform; }
|
||||||
|
|
||||||
|
void getSupportedArchitectures (std::vector<Architecture>& result) const override
|
||||||
|
{
|
||||||
|
result.insert (result.end(), { Architecture::win32, Architecture::win64, Architecture::arm64 });
|
||||||
|
}
|
||||||
|
|
||||||
static MSVCProjectExporterVC2019* createForSettings (Project& projectToUse, const ValueTree& settingsToUse)
|
static MSVCProjectExporterVC2019* createForSettings (Project& projectToUse, const ValueTree& settingsToUse)
|
||||||
{
|
{
|
||||||
if (settingsToUse.hasType (getValueTreeTypeName()))
|
if (settingsToUse.hasType (getValueTreeTypeName()))
|
||||||
|
|
@ -2844,6 +2853,11 @@ public:
|
||||||
String getDefaultToolset() const override { return defaultToolset; }
|
String getDefaultToolset() const override { return defaultToolset; }
|
||||||
String getDefaultWindowsTargetPlatformVersion() const override { return defaultTargetPlatform; }
|
String getDefaultWindowsTargetPlatformVersion() const override { return defaultTargetPlatform; }
|
||||||
|
|
||||||
|
void getSupportedArchitectures (std::vector<Architecture>& result) const override
|
||||||
|
{
|
||||||
|
result.insert (result.end(), { Architecture::win32, Architecture::win64, Architecture::arm64, Architecture::arm64ec });
|
||||||
|
}
|
||||||
|
|
||||||
static MSVCProjectExporterVC2022* createForSettings (Project& projectToUse, const ValueTree& settingsToUse)
|
static MSVCProjectExporterVC2022* createForSettings (Project& projectToUse, const ValueTree& settingsToUse)
|
||||||
{
|
{
|
||||||
if (settingsToUse.hasType (getValueTreeTypeName()))
|
if (settingsToUse.hasType (getValueTreeTypeName()))
|
||||||
|
|
@ -2889,6 +2903,11 @@ public:
|
||||||
String getDefaultToolset() const override { return defaultToolset; }
|
String getDefaultToolset() const override { return defaultToolset; }
|
||||||
String getDefaultWindowsTargetPlatformVersion() const override { return defaultTargetPlatform; }
|
String getDefaultWindowsTargetPlatformVersion() const override { return defaultTargetPlatform; }
|
||||||
|
|
||||||
|
void getSupportedArchitectures (std::vector<Architecture>& result) const override
|
||||||
|
{
|
||||||
|
result.insert (result.end(), { Architecture::win32, Architecture::win64, Architecture::arm64, Architecture::arm64ec });
|
||||||
|
}
|
||||||
|
|
||||||
static MSVCProjectExporterVC2026* createForSettings (Project& projectToUse, const ValueTree& settingsToUse)
|
static MSVCProjectExporterVC2026* createForSettings (Project& projectToUse, const ValueTree& settingsToUse)
|
||||||
{
|
{
|
||||||
if (settingsToUse.hasType (getValueTreeTypeName()))
|
if (settingsToUse.hasType (getValueTreeTypeName()))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue