squall/storm/CMakeLists.txt

24 lines
396 B
Text
Raw Normal View History

file(GLOB STORM_SOURCES
"*.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
PRIVATE
${CMAKE_SOURCE_DIR}/storm
)