Descent3/renderer/CMakeLists.txt

33 lines
571 B
CMake
Raw Normal View History

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
SoftwarePoints.cpp
SoftwareSetup.cpp)
2024-04-16 03:43:29 +00:00
if(UNIX)
set(CPPS ${CPPS} lnxscreenmode.cpp)
endif()
2024-04-16 03:43:29 +00:00
# These are excluded.
#opengl.cpp
#renderer.cpp
#Direct3D.cpp
add_library(renderer STATIC ${HEADERS} ${CPPS})