Add support to compile renderergl2 (currently unimplemented)

This commit is contained in:
smallmodel 2024-12-01 19:21:07 +01:00
parent 4ea598d76b
commit 4f699f3b58
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
14 changed files with 83 additions and 49 deletions

View file

@ -183,13 +183,9 @@ if (NOT BUILD_NO_CLIENT)
add_subdirectory("code/client")
add_subdirectory("code/renderergl1")
#add_subdirectory("code/renderergl2")
add_subdirectory("code/sdl")
#include("code/renderergl2/glsl/shaders.cmake")
#file(GLOB_RECURSE SOURCES_RENDERER "code/sdl/*.c" "code/renderercommon/*.c" "code/renderergl2/*.c" "code/renderergl2/*.cpp")
#list(FILTER SOURCES_RENDERER EXCLUDE REGEX "code/renderergl2/tr_subs.c")
#list(FILTER SOURCES_RENDERER EXCLUDE REGEX "code/renderergl2/tr_model.c")
add_executable(openmohaa "misc/dummy.c")
target_link_libraries(openmohaa PRIVATE syslib)
target_link_libraries(openmohaa PRIVATE omohserver)