osb/source/core/CMakeLists.txt

230 lines
5.1 KiB
CMake
Raw Normal View History

2023-06-20 04:33:09 +00:00
INCLUDE_DIRECTORIES (
${STAR_EXTERN_INCLUDES}
${STAR_CORE_INCLUDES}
)
SET (star_core_HEADERS
StarAStar.hpp
StarAlgorithm.hpp
StarArray.hpp
2023-06-23 15:30:55 +00:00
StarAssetPath.hpp
2023-06-20 04:33:09 +00: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 05:13:30 +00:00
StarCurve25519.hpp
2023-06-20 04:33:09 +00:00
StarDataStream.hpp
StarDataStreamDevices.hpp
StarDataStreamExtra.hpp
2023-06-23 15:30:55 +00:00
StarDirectives.hpp
2023-06-20 04:33:09 +00: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
2023-07-01 20:34:43 +00:00
StarInputEvent.hpp
2023-06-20 04:33:09 +00: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
StarNetElement.hpp
StarNetElementBasicFields.hpp
StarNetElementContainers.hpp
StarNetElementDynamicGroup.hpp
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 04:33:09 +00:00
StarParametricFunction.hpp
2023-06-25 10:01:32 +00:00
StarPch.hpp
2023-06-20 04:33:09 +00:00
StarPeriodic.hpp
StarPeriodicFunction.hpp
StarPerlin.hpp
StarPoly.hpp
StarPythonic.hpp
StarRandom.hpp
StarRandomPoint.hpp
StarRect.hpp
StarRpcPromise.hpp
StarRpcThreadPromise.hpp
2023-06-20 04:33:09 +00: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 04:33:09 +00:00
StarStrongTypedef.hpp
StarTcp.hpp
2023-07-22 12:31:04 +00:00
StarText.hpp
2023-06-20 04:33:09 +00:00
StarThread.hpp
StarTickRateMonitor.hpp
StarTime.hpp
StarTtlCache.hpp
StarUdp.hpp
StarUnicode.hpp
StarUuid.hpp
StarVector.hpp
StarVlqEncoding.hpp
StarWeightedPool.hpp
StarWorkerPool.hpp
StarXXHash.hpp
StarZSTDCompression.hpp
2024-03-15 10:28:11 +00:00
scripting/StarUtilityLuaBindings.hpp
2023-06-20 04:33:09 +00:00
)
SET (star_core_SOURCES
StarAudio.cpp
2023-06-23 15:30:55 +00:00
StarAssetPath.cpp
2023-06-20 04:33:09 +00:00
StarBTreeDatabase.cpp
StarBuffer.cpp
StarByteArray.cpp
StarColor.cpp
StarCompression.cpp
2023-07-12 05:13:30 +00:00
StarCurve25519.cpp
2023-06-20 04:33:09 +00:00
StarDataStream.cpp
StarDataStreamDevices.cpp
2023-06-23 15:30:55 +00:00
StarDirectives.cpp
2023-06-20 04:33:09 +00:00
StarEncode.cpp
StarFile.cpp
StarFont.cpp
StarHostAddress.cpp
StarIODevice.cpp
StarImage.cpp
StarImageProcessing.cpp
2023-07-01 20:34:43 +00:00
StarInputEvent.cpp
2023-06-20 04:33:09 +00:00
StarJson.cpp
StarJsonBuilder.cpp
StarJsonExtra.cpp
StarJsonPath.cpp
StarJsonPatch.cpp
StarJsonRpc.cpp
StarFormattedJson.cpp
StarListener.cpp
StarLogging.cpp
StarLua.cpp
StarLuaConverters.cpp
StarMemory.cpp
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 04:33:09 +00:00
StarTcp.cpp
2023-07-22 12:31:04 +00:00
StarText.cpp
2023-06-20 04:33:09 +00:00
StarThread.cpp
StarTime.cpp
StarTickRateMonitor.cpp
StarUdp.cpp
StarUnicode.cpp
StarUuid.cpp
StarWorkerPool.cpp
StarZSTDCompression.cpp
2024-03-15 10:28:11 +00:00
scripting/StarUtilityLuaBindings.cpp
2023-06-20 04:33:09 +00: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 ()
ADD_LIBRARY (star_core OBJECT ${star_core_SOURCES} ${star_core_HEADERS})
2024-03-08 09:09:27 +00: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()