mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-27 22:36:05 +03:00
* chore(build): add vendored SDL 3.0.0 library * chore(build): add vendored glew-cmake-2.2.0 library * feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl * feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux * chore(build): change SDL3 linkage from shared (bad) to to static (good)
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)
|
|
|