2017-07-07 19:34:15 +00:00
|
|
|
set(SRCS
|
|
|
|
network.cpp
|
2017-07-08 13:50:59 +00:00
|
|
|
packet.cpp
|
2017-07-07 19:34:15 +00:00
|
|
|
room.cpp
|
|
|
|
room_member.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
network.h
|
2017-07-08 13:50:59 +00:00
|
|
|
packet.h
|
2017-07-07 19:34:15 +00:00
|
|
|
room.h
|
|
|
|
room_member.h
|
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
|
|
|
|
add_library(network STATIC ${SRCS} ${HEADERS})
|
|
|
|
target_link_libraries(network PRIVATE common enet)
|