Descent3/renderer/CMakeLists.txt
2024-04-15 21:43:29 -06:00

36 lines
630 B
CMake

SET (HEADERS
dyna_gl.h
HardwareInternal.h
RendererConfig.h
SoftwareInternal.h)
SET (CPPS
HardwareClipper.cpp
HardwareDraw.cpp
HardwareGlobalVars.cpp
HardwareInstance.cpp
HardwareOpenGL.cpp
HardwarePoints.cpp
HardwareSetup.cpp
HardwareTransforms.cpp
SoftwareClipper.cpp
SoftwareDraw.cpp
SoftwareGlobalVars.cpp
SoftwareInstance.cpp
SoftwareOpenGL.cpp
SoftwareOpenGLMeshBuilder.cpp
SoftwarePoints.cpp
SoftwareSetup.cpp)
IF(UNIX)
SET (CPPS ${CPPS} lnxscreenmode.cpp)
ENDIF()
# These are excluded.
#opengl.cpp
#renderer.cpp
#Direct3D.cpp
ADD_LIBRARY(renderer STATIC ${HEADERS} ${CPPS})