Skip to content
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

Add support for multi platform xcframeworks #2691

Merged
merged 9 commits into from
Sep 4, 2024

Conversation

externl
Copy link
Member

@externl externl commented Aug 29, 2024

This PR adds support for creating multi-platform xcframeworks. We bundle all static libraries for the platforms specified in PLATFORMS.

@externl externl added this to the 3.8.0 milestone Aug 29, 2024
@externl
Copy link
Member Author

externl commented Aug 30, 2024

I've updated the build to include iAP in Ice. This simplifies the Swift build dependencies.

@@ -28,7 +28,8 @@ endif
endif

Ice[iphoneos]_excludes := $(wildcard src/Ice/CtrlCHandler.cpp $(addprefix $(currentdir)/,Tcp*.cpp Service.cpp))
Ice[iphoneos]_extra_sources := $(wildcard $(addprefix $(currentdir)/ios/,*.cpp *.mm))
Ice[iphoneos]_extra_sources := $(wildcard $(addprefix $(currentdir)/ios/,*.cpp *.mm))\
$(wildcard $(addprefix $(currentdir)/iAP/,*.cpp *.mm))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be cleaner to add an iAP prefix to all iAP source files and then move them to the ios folder. It's odd to have src/Ice/ios and src/Ice/iAP that are both ios-only.

@externl externl merged commit ac784b0 into zeroc-ice:main Sep 4, 2024
18 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 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.

3 participants