mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
25 lines
427 B
CMake
25 lines
427 B
CMake
file(GLOB STORM_SOURCES
|
|
"*.cpp"
|
|
"hash/*.cpp"
|
|
"string/*.cpp"
|
|
"thread/*.cpp"
|
|
)
|
|
|
|
if(PLATFORM_MAC)
|
|
file(GLOB STORM_MAC_SOURCES
|
|
"mac/*.cpp"
|
|
"mac/*.mm"
|
|
"thread/mac/*.cpp"
|
|
"thread/mac/*.mm"
|
|
)
|
|
list(APPEND STORM_SOURCES ${STORM_MAC_SOURCES})
|
|
endif()
|
|
|
|
add_library(storm STATIC
|
|
${STORM_SOURCES}
|
|
)
|
|
|
|
target_include_directories(storm
|
|
PUBLIC
|
|
${PROJECT_SOURCE_DIR}
|
|
)
|