mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 03:52:30 +00:00
feat(event): pass custom window proc in gx device creation
This commit is contained in:
parent
9ccd1884f3
commit
32f9c81abf
6 changed files with 41 additions and 1 deletions
|
|
@ -1,5 +1,12 @@
|
|||
file(GLOB PRIVATE_SOURCES "*.cpp")
|
||||
|
||||
if(WHOA_SYSTEM_WIN)
|
||||
file(GLOB WIN_SOURCES
|
||||
"win/*.cpp"
|
||||
)
|
||||
list(APPEND PRIVATE_SOURCES ${WIN_SOURCES})
|
||||
endif()
|
||||
|
||||
if(WHOA_SYSTEM_MAC)
|
||||
file(GLOB MAC_SOURCES
|
||||
"mac/*.cpp"
|
||||
|
|
@ -8,6 +15,13 @@ if(WHOA_SYSTEM_MAC)
|
|||
list(APPEND PRIVATE_SOURCES ${MAC_SOURCES})
|
||||
endif()
|
||||
|
||||
if(WHOA_SYSTEM_LINUX)
|
||||
file(GLOB LINUX_SOURCES
|
||||
"linux/*.cpp"
|
||||
)
|
||||
list(APPEND PRIVATE_SOURCES ${LINUX_SOURCES})
|
||||
endif()
|
||||
|
||||
add_library(event STATIC
|
||||
${PRIVATE_SOURCES}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue