osb/source/core/CMakeLists.txt

238 lines
5.4 KiB
CMake
Raw Normal View History

2023-06-20 14:33:09 +10:00
INCLUDE_DIRECTORIES (
${STAR_EXTERN_INCLUDES}
${STAR_CORE_INCLUDES}
)
SET (star_core_HEADERS
StarAStar.hpp
StarAlgorithm.hpp
StarArray.hpp
2023-06-24 01:30:55 +10:00
StarAssetPath.hpp
2023-06-20 14:33:09 +10:00
StarAtomicSharedPtr.hpp
StarAudio.hpp
StarBTree.hpp
StarBTreeDatabase.hpp
StarBiMap.hpp
StarBlockAllocator.hpp
StarBuffer.hpp
StarByteArray.hpp
StarBytes.hpp
StarCasting.hpp
StarColor.hpp
StarCompression.hpp
StarConfig.hpp
2023-07-12 15:13:30 +10:00
StarCurve25519.hpp
2023-06-20 14:33:09 +10:00
StarDataStream.hpp
StarDataStreamDevices.hpp
StarDataStreamExtra.hpp
2023-06-24 01:30:55 +10:00
StarDirectives.hpp
2023-06-20 14:33:09 +10:00
StarDynamicLib.hpp
StarEither.hpp
StarEncode.hpp
StarException.hpp
StarFile.hpp
StarFlatHashMap.hpp
StarFlatHashSet.hpp
StarFont.hpp
StarFormat.hpp
StarHash.hpp
StarHostAddress.hpp
StarIODevice.hpp
StarIdMap.hpp
StarImage.hpp
StarImageProcessing.hpp
StarImageScaling.hpp
2023-07-02 06:34:43 +10:00
StarInputEvent.hpp
2023-06-20 14:33:09 +10:00
StarInterpolation.hpp
StarRefPtr.hpp
StarIterator.hpp
StarJson.hpp
StarJsonBuilder.hpp
StarJsonExtra.hpp
StarJsonParser.hpp
StarJsonPath.hpp
StarJsonPatch.hpp
StarJsonRpc.hpp
StarFormattedJson.hpp
StarLexicalCast.hpp
StarLine.hpp
StarList.hpp
StarListener.hpp
StarLockFile.hpp
StarLogging.hpp
StarLruCache.hpp
StarLua.hpp
StarLuaConverters.hpp
StarMap.hpp
StarMathCommon.hpp
StarMatrix3.hpp
StarMaybe.hpp
StarMemory.hpp
StarMultiArray.hpp
StarMultiArrayInterpolator.hpp
StarMultiTable.hpp
2024-09-05 19:15:47 +10:00
StarNetCompatibility.hpp
2023-06-20 14:33:09 +10:00
StarNetElement.hpp
StarNetElementBasicFields.hpp
StarNetElementContainers.hpp
StarNetElementDynamicGroup.hpp
2024-09-05 19:15:47 +10:00
StarNetElementExt.hpp
2023-06-20 14:33:09 +10:00
StarNetElementFloatFields.hpp
StarNetElementGroup.hpp
StarNetElementSignal.hpp
StarNetElementSyncGroup.hpp
StarNetElementSystem.hpp
StarNetElementTop.hpp
StarNetImpl.hpp
StarObserverStream.hpp
StarOptionParser.hpp
StarOrderedMap.hpp
StarOrderedSet.hpp
StarOutputProxy.hpp
2023-06-20 14:33:09 +10:00
StarParametricFunction.hpp
2023-06-25 20:01:32 +10:00
StarPch.hpp
2023-06-20 14:33:09 +10:00
StarPeriodic.hpp
StarPeriodicFunction.hpp
StarPerlin.hpp
StarPoly.hpp
StarPythonic.hpp
StarRandom.hpp
StarRandomPoint.hpp
StarRect.hpp
StarRpcPromise.hpp
StarRpcThreadPromise.hpp
2023-06-20 14:33:09 +10:00
StarSectorArray2D.hpp
StarSecureRandom.hpp
StarSet.hpp
StarSha256.hpp
StarShellParser.hpp
StarSignalHandler.hpp
StarSocket.hpp
StarSpatialHash2D.hpp
StarSpline.hpp
StarStaticRandom.hpp
StarStaticVector.hpp
StarString.hpp
StarStringView.hpp
2023-06-20 14:33:09 +10:00
StarStrongTypedef.hpp
StarTcp.hpp
2023-07-22 22:31:04 +10:00
StarText.hpp
2023-06-20 14:33:09 +10:00
StarThread.hpp
StarTickRateMonitor.hpp
StarTime.hpp
StarTtlCache.hpp
StarUdp.hpp
StarUnicode.hpp
StarUuid.hpp
StarVector.hpp
StarVersion.hpp
2023-06-20 14:33:09 +10:00
StarVlqEncoding.hpp
StarWeightedPool.hpp
StarWorkerPool.hpp
StarXXHash.hpp
StarZSTDCompression.hpp
2024-03-15 21:28:11 +11:00
scripting/StarUtilityLuaBindings.hpp
2023-06-20 14:33:09 +10:00
)
SET (star_core_SOURCES
StarAudio.cpp
2023-06-24 01:30:55 +10:00
StarAssetPath.cpp
2023-06-20 14:33:09 +10:00
StarBTreeDatabase.cpp
StarBuffer.cpp
StarByteArray.cpp
StarColor.cpp
StarCompression.cpp
2023-07-12 15:13:30 +10:00
StarCurve25519.cpp
2023-06-20 14:33:09 +10:00
StarDataStream.cpp
StarDataStreamDevices.cpp
2023-06-24 01:30:55 +10:00
StarDirectives.cpp
2023-06-20 14:33:09 +10:00
StarEncode.cpp
StarFile.cpp
StarFont.cpp
StarHostAddress.cpp
StarIODevice.cpp
StarImage.cpp
StarImageProcessing.cpp
StarImageScaling.cpp
2023-07-02 06:34:43 +10:00
StarInputEvent.cpp
2023-06-20 14:33:09 +10:00
StarJson.cpp
StarJsonBuilder.cpp
StarJsonExtra.cpp
StarJsonPath.cpp
StarJsonPatch.cpp
StarJsonRpc.cpp
StarFormattedJson.cpp
StarLexicalCast.cpp
2023-06-20 14:33:09 +10:00
StarListener.cpp
StarLogging.cpp
StarLua.cpp
StarLuaConverters.cpp
StarMemory.cpp
StarNetCompatibility.cpp
2023-06-20 14:33:09 +10:00
StarNetElement.cpp
StarNetElementBasicFields.cpp
StarNetElementGroup.cpp
StarNetElementSyncGroup.cpp
StarOptionParser.cpp
StarPerlin.cpp
StarRandom.cpp
StarSha256.cpp
StarShellParser.cpp
StarSocket.cpp
StarString.cpp
StarStringView.cpp
2023-06-20 14:33:09 +10:00
StarTcp.cpp
2023-07-22 22:31:04 +10:00
StarText.cpp
2023-06-20 14:33:09 +10:00
StarThread.cpp
StarTime.cpp
StarTickRateMonitor.cpp
StarUdp.cpp
StarUnicode.cpp
StarUuid.cpp
StarWorkerPool.cpp
StarZSTDCompression.cpp
2024-03-15 21:28:11 +11:00
scripting/StarUtilityLuaBindings.cpp
2023-06-20 14:33:09 +10:00
)
IF (STAR_SYSTEM_FAMILY_UNIX)
SET (star_core_SOURCES ${star_core_SOURCES}
StarDynamicLib_unix.cpp
StarException_unix.cpp
StarFile_unix.cpp
StarLockFile_unix.cpp
StarSecureRandom_unix.cpp
StarSignalHandler_unix.cpp
StarThread_unix.cpp
StarTime_unix.cpp
)
ELSEIF (STAR_SYSTEM_FAMILY_WINDOWS)
SET (star_core_HEADERS ${star_core_HEADERS}
StarString_windows.hpp
)
SET (star_core_SOURCES ${star_core_SOURCES}
StarDynamicLib_windows.cpp
StarFile_windows.cpp
StarLockFile_windows.cpp
StarSignalHandler_windows.cpp
StarString_windows.cpp
StarThread_windows.cpp
StarTime_windows.cpp
StarException_windows.cpp
StarSecureRandom_windows.cpp
)
ENDIF ()
CONFIGURE_FILE (StarVersion.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/StarVersion.cpp)
ADD_LIBRARY (star_core OBJECT ${star_core_SOURCES} ${star_core_HEADERS} ${CMAKE_CURRENT_BINARY_DIR}/StarVersion.cpp)
2024-03-08 20:09:27 +11:00
IF(STAR_PRECOMPILED_HEADERS)
TARGET_PRECOMPILE_HEADERS (star_core PUBLIC StarPch.hpp)
ENDIF()
IF(STAR_USE_JEMALLOC AND JEMALLOC_IS_PREFIXED)
SET_SOURCE_FILES_PROPERTIES(StarMemory.cpp PROPERTIES
COMPILE_DEFINITIONS STAR_JEMALLOC_IS_PREFIXED
)
ENDIF()