14 lines
644 B
CMake
14 lines
644 B
CMake
find_package(yaml-cpp REQUIRED)
|
|
include_directories(yaml_config)
|
|
|
|
add_executable(test_udp_client test_udp_client_main.cc yaml_config/yaml_config.cc)
|
|
target_link_libraries(test_udp_client ${LIB} yaml-cpp)
|
|
add_executable(test_udp_server test_udp_server_main.cc yaml_config/yaml_config.cc)
|
|
target_link_libraries(test_udp_server ${LIB} yaml-cpp)
|
|
|
|
|
|
add_executable(test_udp_mul_client test_udp_mul_client_main.cc yaml_config/yaml_config.cc)
|
|
target_link_libraries(test_udp_mul_client ${LIB} yaml-cpp)
|
|
add_executable(test_udp_mul_server test_udp_mul_server_main.cc yaml_config/yaml_config.cc)
|
|
target_link_libraries(test_udp_mul_server ${LIB} yaml-cpp)
|