mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
448 B
CMake
21 lines
448 B
CMake
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)
|
|
|
|
# Compilation of companion libraries
|
|
#add_subdirectory(SDL_image)
|
|
#add_subdirectory(SDL_mixer)
|
|
#add_subdirectory(SDL_ttf)
|
|
|
|
# Your game and its CMakeLists.txt are in a subfolder named "src"
|
|
add_subdirectory(src)
|
|
|