Descent3/renderer/CMakeLists.txt

28 lines
471 B
CMake
Raw Normal View History

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
)
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})
2024-05-09 21:38:54 +00:00
target_link_libraries(renderer PRIVATE bitmap)