mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
24 lines
496 B
CMake
24 lines
496 B
CMake
cmake_minimum_required(VERSION 3.6)
|
|
|
|
project(GAME)
|
|
|
|
# Settings
|
|
set(HIDAPI OFF CACHE BOOL "" FORCE)
|
|
|
|
# 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)
|
|
|