Compiling Yabause/linux/android/android

From Yabause
Jump to: navigation, search

Dependencies

  • Android SDK
  • Android NDK
  • CMake
  • GCC
  • JDK >= 1.8

Building

  • Fetch the sources
  • Move to the "yabause" directory
  • Export the ANDROID_HOME environment variable
    export ANDROID_HOME=/path/to/sdk
  • Export the ANDROID_NDK_HOME environment variable
    export ANDROID_HOME=/path/to/ndk
  • Configure the build with
    cmake -DCMAKE_TOOLCHAIN_FILE=src/android/android.cmake -DSH2_DYNAREC=OFF -DYAB_PORTS=android .
  • Build
    make