CMakeLists.txt 448 B

123456789101112131415161718192021
  1. cmake_minimum_required(VERSION 3.6)
  2. project(GAME)
  3. # armeabi-v7a requires cpufeatures library
  4. # include(AndroidNdkModules)
  5. # android_ndk_import_module_cpufeatures()
  6. # SDL sources are in a subfolder named "SDL"
  7. add_subdirectory(SDL)
  8. # Compilation of companion libraries
  9. #add_subdirectory(SDL_image)
  10. #add_subdirectory(SDL_mixer)
  11. #add_subdirectory(SDL_ttf)
  12. # Your game and its CMakeLists.txt are in a subfolder named "src"
  13. add_subdirectory(src)