mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 20:36:24 -05:00
18 lines
378 B
CMake
18 lines
378 B
CMake
set(SRCS
|
|
network.cpp
|
|
packet.cpp
|
|
room.cpp
|
|
room_member.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
network.h
|
|
packet.h
|
|
room.h
|
|
room_member.h
|
|
)
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
add_library(network STATIC ${SRCS} ${HEADERS})
|
|
target_link_libraries(network PRIVATE common enet)
|