Descent3/renderer/CMakeLists.txt
2024-05-08 17:36:43 +01:00

27 lines
424 B
CMake

set(HEADERS
dyna_gl.h
HardwareInternal.h
)
set(CPPS
HardwareClipper.cpp
HardwareDraw.cpp
HardwareGlobalVars.cpp
HardwareInstance.cpp
HardwareOpenGL.cpp
HardwareBaseGPU.cpp
HardwarePoints.cpp
HardwareSetup.cpp
HardwareTransforms.cpp
)
if(UNIX)
set(CPPS ${CPPS} lnxscreenmode.cpp)
endif()
# These are excluded.
#opengl.cpp
#renderer.cpp
#Direct3D.cpp
add_library(renderer STATIC ${HEADERS} ${CPPS})