ddnet/scripts/compile_libs
Robert Müller cdbe1f775a Various fixes/improvements to Android building scripts
Use [cargo-ndk](https://github.com/bbqsrc/cargo-ndk) to configure cargo for building with the Android NDK. The output of `cargo ndk` is written to a subfolder for the target triplet, which cannot be changed by parameter. Therefore, the `CARGO_BUILD_DIR` is changed to this subfolder for the Android build, so the build process can find the output.

Use `$HOME` instead of `~` because cargo-ndk cannot correctly access the folder otherwise (will fail with error message indicating it could not determine the NDK version).

Add `DDNET_TEST_NO_LINK=ON` CMake argument, to fix Rust linking errors with tests.

Add additional CMake arguments to specify system name, API version and NDK location. Upgrade to Android API 34.

Use `nproc` instead of `32` threads for building.
2024-05-21 17:36:47 +02:00
..
cmake_lib_compile.sh Various fixes/improvements to Android building scripts 2024-05-21 17:36:47 +02:00
gen_libs.sh Various fixes/improvements to Android building scripts 2024-05-21 17:36:47 +02:00
make_lib_openssl.sh Emscripten support 2022-03-25 12:42:18 +01:00
make_lib_opusfile.sh Fix misspellings 2022-10-25 13:51:56 -03:00
make_lib_sqlite3.sh Emscripten support 2022-03-25 12:42:18 +01:00