Universal macOS ARM64 binary and statically compiled FreeType #239
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 revises the approach to supporting ARM64 architecture introduced in #223. Instead of building separate dylib files for different architectures, the CI will now compile a universal library that works on both x86_64 and ARM64 architectures.
Additionally, the integration process with the FreeType library has been reworked. FreeType is now enabled by default (the define IMGUI_ENABLE_FREETYPE is used during compilation). The library is compiled into the binding statically. This addresses a previous issue where Linux/macOS users experienced application crashes due to a missing library on their system.
As a result, the bin/freetype folder has been entirely removed due to its redundancy. In future releases, versions with the
-ft
suffix will no longer be provided. The library will always be released with FreeType included.On a smaller scale, the CI has been reworked and its actions updated. The build process should now be slightly faster overall.
Relates:
resolves #215
resolves #216
Type of change