mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
cdbe1f775a
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. |
||
---|---|---|
.. | ||
android | ||
compile_libs | ||
languages | ||
check_config_variables.py | ||
check_dilate.sh | ||
check_header_guards.py | ||
check_identifiers.py | ||
check_standard_headers.sh | ||
check_unused_header_files.py | ||
checksum.py | ||
darwin_strip_rpath.py | ||
extract_identifiers.py | ||
fix_style.py | ||
gen_keys.py | ||
generate_fake_curl.py | ||
generate_unicode_confusables_data.py | ||
generate_unicode_tolower.py | ||
git_revision.py | ||
hash_passwords.py | ||
import_file_score.py | ||
integration_test.sh | ||
move_sqlite.py | ||
parse_drmingw.sh | ||
SDL_scancode.h | ||
send_named_pipe.ps1 | ||
tw_api.py | ||
unicode.py | ||
wordlist.py |