mirror of
https://github.com/Motschen/Adventura.git
synced 2025-12-13 02:25:08 +01:00
How to use these scripts
For the most part, just run the scripts in this directory from this directory.
Notes:
- visionOS
- Requires CMake 3.28 or newer
- Web
- Install emsdk somewhere.
2. On Windows hosts, run
config-web-win.batvia theemcmdprompt.batcmd in the emsdk root directory - On Unix hosts, first run
source emsdk_env.sh(found in the emsdk root directory), then runconfig-web-unix.sh - After the build completes, use
python3 -m http.serverin the build directory to make the page accessible.
- Install emsdk somewhere.
2. On Windows hosts, run
- Android
- There is no easy CMake config for this platform. Instead, follow the steps as outlined below. See the android GitHub action for more details.
- Install Android Studio + NDK from https://developer.android.com/studio
- Copy
build.gradletoSDL/android-project/app/. If you look insidebuild.gradle, you'll see"../../../CMakeLists.txt"as the path to the CMakeLists file. This points to the CMakeLists in this repo's root directory after it is copied. 3.cd SDL/android-project/4../gradlew assembleDebug. You'll get an apk which you can then install onto a device.