android-project/app/jni/CMakeLists.txt
author Sylvain Becker
Sun, 11 Aug 2019 15:23:37 +0200
changeset 13006 4a410f099040
child 13008 8e299f937b6c
permissions -rw-r--r--
Fixed bug 3918 - CMake support for android project
sylvain@13006
     1
cmake_minimum_required(VERSION 3.6)
sylvain@13006
     2
sylvain@13006
     3
project(GAME)
sylvain@13006
     4
sylvain@13006
     5
# Settings
sylvain@13006
     6
set(HIDAPI OFF CACHE BOOL "" FORCE)
sylvain@13006
     7
sylvain@13006
     8
# armeabi-v7a requires cpufeatures library
sylvain@13006
     9
# include(AndroidNdkModules)
sylvain@13006
    10
# android_ndk_import_module_cpufeatures()
sylvain@13006
    11
sylvain@13006
    12
sylvain@13006
    13
# SDL sources are in a subfolder named "SDL"
sylvain@13006
    14
add_subdirectory(SDL)
sylvain@13006
    15
sylvain@13006
    16
# Your game and its CMakeLists.txt are in a subfolder named "src"
sylvain@13006
    17
add_subdirectory(src)
sylvain@13006
    18