2019-08-11 07:23:37 -06:00
|
|
|
cmake_minimum_required(VERSION 3.6)
|
|
|
|
|
|
|
|
project(GAME)
|
|
|
|
|
|
|
|
# armeabi-v7a requires cpufeatures library
|
|
|
|
# include(AndroidNdkModules)
|
|
|
|
# android_ndk_import_module_cpufeatures()
|
|
|
|
|
|
|
|
|
|
|
|
# SDL sources are in a subfolder named "SDL"
|
|
|
|
add_subdirectory(SDL)
|
|
|
|
|
2019-08-13 08:00:08 -06:00
|
|
|
# Compilation of companion libraries
|
|
|
|
#add_subdirectory(SDL_image)
|
|
|
|
#add_subdirectory(SDL_mixer)
|
|
|
|
#add_subdirectory(SDL_ttf)
|
|
|
|
|
2019-08-11 07:23:37 -06:00
|
|
|
# Your game and its CMakeLists.txt are in a subfolder named "src"
|
|
|
|
add_subdirectory(src)
|
|
|
|
|