summaryrefslogtreecommitdiff
path: root/cmake/ipcp
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-01-10 15:53:11 +0100
committerSander Vrijders <sander@ouroboros.rocks>2026-01-12 08:13:24 +0100
commit1433fa50cb4e162a0557f207a1097d165392ba8e (patch)
tree9d52e9604fd422d3295e2f0b2719bafcffc7cf71 /cmake/ipcp
parent3f373b06b05083d9395250379a2978b5f6085002 (diff)
downloadouroboros-be.tar.gz
ouroboros-be.zip
build: Fix missing DEBUG_PROTO optionsbe
The DEBUG_PROTO_DHT and DEBUG_PROTO_LS build options were not correctly migrated to the new CMake modules. This adds them back. There was a non-implemented DEBUG_PROTO_OEP option. This removes that stale code. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'cmake/ipcp')
-rw-r--r--cmake/ipcp/unicast.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/ipcp/unicast.cmake b/cmake/ipcp/unicast.cmake
index 8517f8af..2a2f7a3f 100644
--- a/cmake/ipcp/unicast.cmake
+++ b/cmake/ipcp/unicast.cmake
@@ -7,6 +7,10 @@ set(IPCP_UNICAST_MPL 100 CACHE STRING
"Default maximum packet lifetime for the Unicast IPCP, in ms")
set(PFT_SIZE 256 CACHE STRING
"Prefix forwarding table size for the Unicast IPCP")
+set(DEBUG_PROTO_DHT FALSE CACHE BOOL
+ "Add DHT protocol debug logging")
+set(DEBUG_PROTO_LS FALSE CACHE BOOL
+ "Add link state protocol debug logging")
# Generate DHT protobuf files
protobuf_generate_c(DHT_PROTO_SRCS DHT_PROTO_HDRS "${UNICAST_SOURCE_DIR}/dir/dht.proto")