Difference between revisions of "Compiling Yabause/linux/android/android"

From Yabause
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 18:12, 28 August 2016

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