dncurrency/nano/rpc_test/CMakeLists.txt
Dimitrios Siganos 5047fc8ccf
Move rpc_context and test_response classes into their own files. (#4370)
The file nano/rpc_test/common.hpp was very confusing, a lot of stuff
was dumped into one file and it was hard to read.
This helps break things into more manageable pieces.
2024-01-18 20:43:55 +07:00

22 lines
529 B
CMake

add_executable(
rpc_test
common.hpp
rpc_context.hpp
test_response.hpp
rpc_context.cpp
test_response.cpp
common.cpp
entry.cpp
receivable.cpp
rpc.cpp)
target_link_libraries(rpc_test test_common)
target_compile_definitions(
rpc_test
PUBLIC -DACTIVE_NETWORK=${ACTIVE_NETWORK}
PRIVATE -DTAG_VERSION_STRING=${TAG_VERSION_STRING}
-DGIT_COMMIT_HASH=${GIT_COMMIT_HASH})
include_directories(${CMAKE_SOURCE_DIR}/submodules)
include_directories(${CMAKE_SOURCE_DIR}/submodules/gtest/googletest/include)