Skip to content

Add support for Apple framework builds #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 11, 2025
Merged

Conversation

Treata11
Copy link
Contributor

@Treata11 Treata11 commented Mar 9, 2025

To enable iOS-derived compilations, I introduced a new flag, LIBDEFLATE_FRAMEWORK, which is set to FALSE by default. I also defined the required properties for framework generation, as described in the CMake documentation.
Building is successful using the following commands:

cmake -S. -B build -DLIBDEFLATE_FRAMEWORK=ON -DLIBDEFLATE_BUILD_SHARED_LIB=OFF -DCMAKE_SYSTEM_NAME=iOS

sudo cmake --build build --target install --config Release

@ebiggers ebiggers merged commit 8c737fb into ebiggers:master Mar 11, 2025
39 of 51 checks passed
@ebiggers
Copy link
Owner

Merged, thanks.

@Treata11 Treata11 mentioned this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants