osb/source/rendering/CMakeLists.txt
2024-03-08 20:09:27 +11:00

39 lines
1002 B
CMake

INCLUDE_DIRECTORIES (
${STAR_EXTERN_INCLUDES}
${STAR_CORE_INCLUDES}
${STAR_BASE_INCLUDES}
${STAR_GAME_INCLUDES}
${STAR_PLATFORM_INCLUDES}
${STAR_APPLICATION_INCLUDES}
${STAR_RENDERING_INCLUDES}
)
SET (star_rendering_HEADERS
StarAnchorTypes.hpp
StarAssetTextureGroup.hpp
StarDrawablePainter.hpp
StarEnvironmentPainter.hpp
StarFontTextureGroup.hpp
StarTextPainter.hpp
StarTilePainter.hpp
StarWorldCamera.hpp
StarWorldPainter.hpp
)
SET (star_rendering_SOURCES
StarAnchorTypes.cpp
StarAssetTextureGroup.cpp
StarDrawablePainter.cpp
StarEnvironmentPainter.cpp
StarFontTextureGroup.cpp
StarTextPainter.cpp
StarTilePainter.cpp
StarWorldCamera.cpp
StarWorldPainter.cpp
)
ADD_LIBRARY (star_rendering OBJECT ${star_rendering_SOURCES} ${star_rendering_HEADERS})
IF(STAR_PRECOMPILED_HEADERS)
TARGET_PRECOMPILE_HEADERS (star_rendering REUSE_FROM star_core)
ENDIF()