squall/storm/CMakeLists.txt

26 lines
427 B
Text
Raw Normal View History

file(GLOB STORM_SOURCES
"*.cpp"
2020-11-15 13:20:10 -06:00
"hash/*.cpp"
2020-11-14 17:18:49 -06:00
"string/*.cpp"
2020-09-09 00:45:46 -05:00
"thread/*.cpp"
)
if(PLATFORM_MAC)
file(GLOB STORM_MAC_SOURCES
"mac/*.cpp"
"mac/*.mm"
2020-09-09 00:45:46 -05:00
"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
2020-11-01 17:45:45 -06:00
${PROJECT_SOURCE_DIR}
)