Descent3/renderer/CMakeLists.txt

36 lines
630 B
CMake
Raw Normal View History

2024-04-16 03:43:29 +00:00
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})