ab021d163e
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
15 lines
242 B
CMake
15 lines
242 B
CMake
add_library(network STATIC
|
|
network.cpp
|
|
network.h
|
|
packet.cpp
|
|
packet.h
|
|
room.cpp
|
|
room.h
|
|
room_member.cpp
|
|
room_member.h
|
|
)
|
|
|
|
create_target_directory_groups(network)
|
|
|
|
target_link_libraries(network PRIVATE common enet)
|