osb/source/base/CMakeLists.txt
Kae 7408981e13 use a version number rather than a bool
more flexible, allows for backwards compat with older OpenSB versions & not just vanilla Starbound
2024-09-11 18:22:44 +10:00

46 lines
1.1 KiB
CMake

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
StarMemoryAssetSource.hpp
StarMixer.hpp
StarPackedAssetSource.hpp
StarRootBase.hpp
StarVersionOptionParser.hpp
StarWorldGeometry.hpp
scripting/StarImageLuaBindings.hpp
)
SET (star_base_SOURCES
StarAnimatedPartSet.cpp
StarAssets.cpp
StarCellularLightArray.cpp
StarCellularLighting.cpp
StarConfiguration.cpp
StarDirectoryAssetSource.cpp
StarMemoryAssetSource.cpp
StarMixer.cpp
StarPackedAssetSource.cpp
StarRootBase.cpp
StarVersionOptionParser.cpp
StarWorldGeometry.cpp
scripting/StarImageLuaBindings.cpp
)
ADD_LIBRARY (star_base OBJECT ${star_base_SOURCES} ${star_base_HEADERS})
IF(STAR_PRECOMPILED_HEADERS)
TARGET_PRECOMPILE_HEADERS (star_base REUSE_FROM star_core)
ENDIF()