Skip to content

Comments

Add support for Apple framework builds#1444

Merged
farindk merged 4 commits intostrukturag:masterfrom
Treata11:master
Jan 23, 2025
Merged

Add support for Apple framework builds#1444
farindk merged 4 commits intostrukturag:masterfrom
Treata11:master

Conversation

@Treata11
Copy link
Contributor

Greetings,

Similar to the PR in libde265, I added the essential properties to the heif target to enable cross-compilation for iOS derived platforms.
Since libheif depends on libde265, the framework artifacts of libde265 must exist on local machine in order to cross compile libheif for a desired Apple platform.

The following commands could be used to generate the frameworks for an iOS target:

cmake -S. -B build -DBUILD_FRAMEWORK=TRUE -DCMAKE_SYSTEM_NAME=iOS -DWITH_EXAMPLES=OFF

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

Note that WITH_EXAMPLES=OFF has to be off since I didn't find it necessary to modify the properties of Examples.

Signed-off-by: Treata11 <treata11@yahoo.com>
@farindk
Copy link
Contributor

farindk commented Jan 23, 2025

Thanks @Treata11 for the PR and @kmilos for the review.

@farindk farindk merged commit 1a131f9 into strukturag:master Jan 23, 2025
35 checks passed
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.

3 participants