mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-04 00:59:09 +00:00
feat(gx): add incomplete 'CGxDeviceGLSDL' (#2)
* 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)
This commit is contained in:
parent
934e0fb600
commit
706c8903a1
2043 changed files with 663533 additions and 5 deletions
10
vendor/CMakeLists.txt
vendored
10
vendor/CMakeLists.txt
vendored
|
|
@ -1,6 +1,16 @@
|
|||
add_subdirectory(freetype-2.0.9)
|
||||
add_subdirectory(lua-5.1.3)
|
||||
|
||||
if (WHOA_SYSTEM_WIN OR WHOA_SYSTEM_LINUX)
|
||||
set(SDL_SHARED OFF)
|
||||
set(SDL_STATIC ON)
|
||||
add_subdirectory(sdl-3.0.0)
|
||||
|
||||
set(glew-cmake_BUILD_SHARED OFF)
|
||||
set(glew-cmake_BUILD_STATIC ON)
|
||||
add_subdirectory(glew-cmake-2.2.0)
|
||||
endif()
|
||||
|
||||
# FMOD Ex
|
||||
set(FMODEX_DIR "./fmodex-4.32.09")
|
||||
add_library(fmodex SHARED IMPORTED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue