osb/source/base/CMakeLists.txt

39 lines
1.0 KiB
CMake
Raw Normal View History

2023-06-20 04:33:09 +00:00
INCLUDE_DIRECTORIES (
${STAR_EXTERN_INCLUDES}
${STAR_CORE_INCLUDES}
${STAR_BASE_INCLUDES}
)
SET (star_base_HEADERS
StarAnimatedPartSet.hpp
StarAssets.hpp
StarAssetSource.hpp
StarBlocksAlongLine.hpp
StarCellularLightArray.hpp
StarCellularLighting.hpp
StarCellularLiquid.hpp
StarConfiguration.hpp
StarDirectoryAssetSource.hpp
StarMixer.hpp
StarPackedAssetSource.hpp
StarVersion.hpp
StarVersionOptionParser.hpp
StarWorldGeometry.hpp
)
SET (star_base_SOURCES
StarAnimatedPartSet.cpp
StarAssets.cpp
StarCellularLighting.cpp
StarConfiguration.cpp
StarDirectoryAssetSource.cpp
StarMixer.cpp
StarPackedAssetSource.cpp
StarVersionOptionParser.cpp
StarWorldGeometry.cpp
)
CONFIGURE_FILE (StarVersion.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/StarVersion.cpp)
ADD_LIBRARY (star_base OBJECT ${star_base_SOURCES} ${star_base_HEADERS} ${CMAKE_CURRENT_BINARY_DIR}/StarVersion.cpp)
2023-06-25 10:01:32 +00:00
TARGET_PRECOMPILE_HEADERS (star_base REUSE_FROM star_core)