Add First-Class Windows ARM64 support to OBS-Studio Build System #11846
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds first-class support for Windows ARM64 builds to the OBS-Studio build system:
ARM64 becomes a valid and supported build configuration as long as the corresponding Visual Studio 17 toolchain is installed in the system.
Important
This PR mainly adds the necessary changes to enable a native ARM64 build system to be created by CMake and successfully compiling it. No functional changes are provided, even though they will be necessary as the code base currently does not differentiate between Intel-based and ARM-based CPUs but only between "64-bit" and "32-bit".
With this change it should be easier and more convenient to add the necessary changes for ARM64-based systems as Visual Studio allows compiling for ARM64 even on x64-based machines.
Motivation and Context
Windows-oriented devices built upon ARM64 become more mainstream, and as such OBS Studio should be available as a native application for users of these devices (just like a native version is provided for Apple Silicon-base Macs).
How Has This Been Tested?
Project configured and successfully compiled on Windows ARM64 virtual machines running on Apple Silicon-based machines.
Types of changes
Checklist: