mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-28 14:56:06 +03:00
28 lines
424 B
CMake
28 lines
424 B
CMake
file(GLOB PRIVATE_SOURCES "*.cpp")
|
|
|
|
if(WHOA_SYSTEM_MAC)
|
|
file(GLOB MAC_SOURCES
|
|
"mac/*.cpp"
|
|
"mac/*.mm"
|
|
)
|
|
list(APPEND PRIVATE_SOURCES ${MAC_SOURCES})
|
|
endif()
|
|
|
|
add_library(event STATIC
|
|
${PRIVATE_SOURCES}
|
|
)
|
|
|
|
target_include_directories(event
|
|
PRIVATE
|
|
${CMAKE_SOURCE_DIR}/src
|
|
)
|
|
|
|
target_link_libraries(event
|
|
PRIVATE
|
|
gx
|
|
PUBLIC
|
|
common
|
|
storm
|
|
tempest
|
|
)
|