Arm64X support directly with the JUCE CMake

IMO it would make sense to build Arm64X. While most hosts will support Arm64CE, some of it may also run as a “normal” native Arm64 process in the future. Arm64X would cover both cases.
Our goal should be to keep this as simple as possible for the end user. They should not need to know about the different Arm64 binary types and Arm64X seems to be the one that works in all Arm processes

Unfortunately, this is not as trivial as changing the build destination. It would be great if we could build this “dual” binary directly with the juce CMake.

Here is the overview picture again for orientation:

As far as I know, CMake itself doesn’t understand the arm64x format yet. If there’s sufficient demand we may investigate this, but ideally this needs to be supported in CMake itself, rather than requiring custom handling by JUCE’s build scripts.

1 Like

I really had the motivation to support Windows Arm as quickly as possible :slight_smile: … but now I see it the same way. We have to wait.
IMO it makes no sense to release Arm64 and Arm64CE binaries and then switch to Arm64X later. I will try to avoid this when possible.