metaforce/Runtime/Graphics/CMakeLists.txt

28 lines
864 B
CMake
Raw Normal View History

2016-02-18 07:36:36 +00:00
if(WIN32)
2016-04-04 02:32:57 +00:00
set(PLAT_SRCS CLineRendererShadersHLSL.cpp CModelShadersHLSL.cpp)
2016-02-18 07:36:36 +00:00
elseif(APPLE)
2016-04-04 02:32:57 +00:00
set(PLAT_SRCS CLineRendererShadersMetal.cpp CModelShadersMetal.cpp)
2016-02-18 07:36:36 +00:00
endif()
2016-03-07 03:12:32 +00:00
include_directories(${LIBJPEG_INCLUDE_DIR})
2016-04-24 04:03:30 +00:00
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)