How to build

Windows

Following describes how to build uoYabause Android version on Windows.

Requirements

Build step

  1. Obtain source code from github using git command
$ git clone https://github.com/devmiyax/yabause.git
  1. Edit ANDROID_NDK PATH in "yabause/src/android/CMakeLists.txt" to indicate the directory where your ndk is installed.

  2. Generate ninja build file

cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=yabause/src/android/androidtoolchain.cmake
  1. Edit CMake settings using cmake-gui
env value
ANDROID_ABI armeabi-v7a with NEON
ANDROID_NATIVE_API_LEVEL 21
YAB_PORTS android
YAB_WANT_ARM7 checked
  1. "Configure" and "Generate"

  2. Exec command prompt and exec "vcvarsall.bat x86" for building using cl.exe

  3. Exec AndroidStudio and import "yabause/src/android"

  4. Build then apk is generated.