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})