Build multiple Android ABIs at once #41284
Unanswered
victorlazaro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When building an Android app from the command line using gradle, it is possible to request a build for multiple ABIs by passing in the -PBuildABI flag, like "gradle -PbuildABI=arm64-v8a;armeabi-v7a;x86". When that's the case, how can we pass the correct CMake preset in the CMake build command?
For example, if I have a CMakePresets.json file like this:
And a build.gradle that like this:
How can we pass the
--preset=<CMakePreset>
, indicating the correct preset/ABI, when we don't know what ABI is being built at the moment?Alternatively, is it possible to instruct vcpkg to build the packages for multiple ABIs? Maybe passing in multiple presets?
Beta Was this translation helpful? Give feedback.
All reactions