Descent3/renderer/CMakeLists.txt
Ryan C. Gordon 6a18afab7c
Remove references to X11 and glX.
This is all in unused/unnecessary/leftover code, but the code wouldn't
build without Xlib headers on the system, which was forcing the Mac builds
to install xquartz.

This also removes renderer/SoftwareOpenGL*, which was _not_ a
software-rendered OpenGL, but just an older version of the same code that's
in HardwareOpenGL.cpp--old enough to still talk to glX directly, which is
what caught my attention.
2024-04-30 12:08:03 -04:00

33 lines
571 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
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})