15 lines
559 B
CMake
15 lines
559 B
CMake
|
|
add_executable(gtest_build_tcp_packet gtest_build_tcp_packet.cpp)
|
||
|
|
target_link_libraries(gtest_build_tcp_packet core gtest)
|
||
|
|
|
||
|
|
add_executable(gtest_build_udp_packet gtest_build_udp_packet.cpp)
|
||
|
|
target_link_libraries(gtest_build_udp_packet core gtest)
|
||
|
|
|
||
|
|
include(GoogleTest)
|
||
|
|
gtest_discover_tests(gtest_build_tcp_packet)
|
||
|
|
gtest_discover_tests(gtest_build_udp_packet)
|
||
|
|
|
||
|
|
add_executable(packet_injector packet_injector.cpp)
|
||
|
|
target_link_libraries(packet_injector core gtest)
|
||
|
|
|
||
|
|
file(COPY ./conf/log.toml DESTINATION ./conf/)
|
||
|
|
file(COPY ./conf/stellar.toml DESTINATION ./conf/)
|