mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-01-09 16:03:21 +00:00
17 lines
334 B
CMake
17 lines
334 B
CMake
|
set(SRCS
|
||
|
network.cpp
|
||
|
room.cpp
|
||
|
room_member.cpp
|
||
|
)
|
||
|
|
||
|
set(HEADERS
|
||
|
network.h
|
||
|
room.h
|
||
|
room_member.h
|
||
|
)
|
||
|
|
||
|
create_directory_groups(${SRCS} ${HEADERS})
|
||
|
|
||
|
add_library(network STATIC ${SRCS} ${HEADERS})
|
||
|
target_link_libraries(network PRIVATE common enet)
|