chore(build): prepare for platform-specific files

This commit is contained in:
fallenoak 2020-09-08 21:22:23 -05:00
parent 94654e41f4
commit 0861ddf3ba
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D

View file

@ -1,4 +1,14 @@
file(GLOB_RECURSE STORM_SOURCES "*.cpp")
file(GLOB STORM_SOURCES
"*.cpp"
)
if(PLATFORM_MAC)
file(GLOB STORM_MAC_SOURCES
"mac/*.cpp"
"mac/*.mm"
)
list(APPEND STORM_SOURCES ${STORM_MAC_SOURCES})
endif()
add_library(storm STATIC
${STORM_SOURCES}