diff options
author | Dimitri Staessens <[email protected]> | 2023-08-27 17:59:20 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-08-30 17:11:41 +0200 |
commit | 3a321cc77e0f6d29167a925dd706fc36e5aa7cdd (patch) | |
tree | 38354765060ed72d98b70e084edcfd061271d018 /src/ipcpd/unicast/dir/tests | |
parent | 08332eefba9aa4b08d00e190720de4771081e855 (diff) | |
download | ouroboros-3a321cc77e0f6d29167a925dd706fc36e5aa7cdd.tar.gz ouroboros-3a321cc77e0f6d29167a925dd706fc36e5aa7cdd.zip |
lib: Move protobuf definitions to pb/ directory
This moves the protobuf definition in the library to a pb/
directory. Also renames the protobuf files and does a quick review of
the #define guards in the include library to specify _LIB_ for
internal/non-public library headers.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/unicast/dir/tests')
-rw-r--r-- | src/ipcpd/unicast/dir/tests/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ipcpd/unicast/dir/tests/CMakeLists.txt b/src/ipcpd/unicast/dir/tests/CMakeLists.txt index 482711d5..c850e41d 100644 --- a/src/ipcpd/unicast/dir/tests/CMakeLists.txt +++ b/src/ipcpd/unicast/dir/tests/CMakeLists.txt @@ -20,10 +20,9 @@ create_test_sourcelist(${PARENT_DIR}_tests test_suite.c dht_test.c ) -protobuf_generate_c(KAD_PROTO_SRCS KAD_PROTO_HDRS ../kademlia.proto) - +protobuf_generate_c(DHT_PROTO_SRCS KAD_PROTO_HDRS ../dht.proto) add_executable(${PARENT_DIR}_test EXCLUDE_FROM_ALL ${${PARENT_DIR}_tests} - ${KAD_PROTO_SRCS}) + ${DHT_PROTO_SRCS}) target_link_libraries(${PARENT_DIR}_test ouroboros-common) add_dependencies(check ${PARENT_DIR}_test) |