Open paulocoutinhox opened 2 years ago
1, 2, 4: use custom option() and xmake f --myopt=xxx, you can see docs.
xmake f -p linux, xmake f -p iphones, ...
xmake f -p iphoneos -a x86_64? I'm not sure, because I haven't tried it, maybe some configuration needs to be added to better support it
use add_ldflags/add_mxflags add bitcode flag
xmake f -p iphoneos --target_minver=xxx
@waruqi in point number 3 i have:
Is better create only one xmake.lua for all and check xmake target or my custom param called "target-name" (ios, android, macos, etc). Or is better create one xmake.lua for each my target (one for ios, one for android, one for macos, one for windows etc)?
@waruqi about mac catalyst:
to maccatalyst we need more options, because xmake f -p iphoneos -a x86_64
it build for simulator.
@waruqi in point number 3 i have:
- framework for iOS, tvOS and watchOS
- shared lib for Android
- app for windows, linux and macos
Is better create only one xmake.lua for all and check xmake target or my custom param called "target-name" (ios, android, macos, etc). Or is better create one xmake.lua for each my target (one for ios, one for android, one for macos, one for windows etc)?
Usually only one xmake.lua is needed, you can use
if is_plat("android") then
set_kind("shared")
end
to set different configurations according to different platforms.
@waruqi about mac catalyst:
to maccatalyst we need more options, because
xmake f -p iphoneos -a x86_64
it build for simulator.
You can submit a feature request to issues and wait for improvement. But I don't have much time lately, maybe you need to wait until next week before I have time to look at it.
Nice.
Enjoying, the project is maintained only by you? Or have a company behind it?
If you die, the project have a team/leader to continue it?
Nice.
Enjoying, the project is maintained only by you? Or have a company behind it?
If you die, the project have a team/leader to continue it?
only me, personal project.
Im trying make a project like Ezored, but with Xmake.
So, i have some questions about the project Xmake to understand that it is possible.
I make some tests here: https://github.com/paulo-coutinho/xmake-test/actions
It is building without any dependency to macos, ios, tvos and watchos.
Something pending:
Can anyone help me?