mirror of https://github.com/AxioDL/metaforce.git
26 lines
819 B
CMake
26 lines
819 B
CMake
if(WIN32)
|
|
set(PLAT_SRCS CLineRendererShadersHLSL.cpp CModelShadersHLSL.cpp)
|
|
elseif(APPLE)
|
|
set(PLAT_SRCS CLineRendererShadersMetal.cpp CModelShadersMetal.cpp)
|
|
endif()
|
|
|
|
set(GRAPHICS_SOURCES
|
|
IRenderer.hpp
|
|
CBooRenderer.hpp CBooRenderer.cpp
|
|
CLineRenderer.hpp CLineRenderer.cpp
|
|
CLineRendererShaders.hpp CLineRendererShadersGLSL.cpp
|
|
CMetroidModelInstance.hpp
|
|
CLight.hpp CLight.cpp
|
|
CTexture.hpp CTextureBoo.cpp
|
|
CModel.hpp CModelBoo.cpp
|
|
CSkinnedModel.hpp CSkinnedModel.cpp
|
|
CModelShaders.hpp CModelShadersGLSL.cpp
|
|
CVertexMorphEffect.hpp CVertexMorphEffect.cpp
|
|
CMoviePlayer.hpp CMoviePlayer.cpp
|
|
CFrustumPlanes.hpp CFrustumPlanes.cpp
|
|
CGraphicsPalette.hpp CGraphicsPalette.cpp
|
|
CGraphics.hpp CGraphics.cpp
|
|
${PLAT_SRCS})
|
|
|
|
runtime_add_list(Graphics GRAPHICS_SOURCES)
|