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