Compiling Yabause/linux/android/android

From Yabause
Revision as of 18:12, 28 August 2016 by Guillaume (Talk | contribs) (Created page with "== Dependencies == * Android SDK * Android NDK * CMake * GCC * JDK >= 1.8 == Building == * Fetch the sources * Move to the "yabause" directory * Export the ANDROID_HOME env...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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