mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
chore(build): prepare for platform-specific files
This commit is contained in:
parent
94654e41f4
commit
0861ddf3ba
1 changed files with 11 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue