mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
6a18afab7c
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.
33 lines
571 B
CMake
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})
|