summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-30 03:23:06 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-30 03:24:24 +0200
commit46d68eacce700e675ce534fe948024f939a968c8 (patch)
tree94314d086edb89aa001c6fca8c070aa6402aca38 /CMakeLists.txt
parent86278c154c0e8f88f3df91298b4fcd40f8c7571b (diff)
downloadxK-46d68eacce700e675ce534fe948024f939a968c8.tar.gz
xK-46d68eacce700e675ce534fe948024f939a968c8.tar.xz
xK-46d68eacce700e675ce534fe948024f939a968c8.zip
Move protocol code generators to liberty
This part of the project is now more or less stable.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2cd36e6..3ab3289 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,15 +162,15 @@ add_custom_target (replies DEPENDS ${PROJECT_BINARY_DIR}/xD-replies.c)
add_custom_command (OUTPUT xC-proto.c
COMMAND env LC_ALL=C awk
- -f ${PROJECT_SOURCE_DIR}/xC-gen-proto.awk
- -f ${PROJECT_SOURCE_DIR}/xC-gen-proto-c.awk
+ -f ${PROJECT_SOURCE_DIR}/liberty/tools/lxdrgen.awk
+ -f ${PROJECT_SOURCE_DIR}/liberty/tools/lxdrgen-c.awk
-v PrefixCamel=Relay
- ${PROJECT_SOURCE_DIR}/xC-proto > xC-proto.c
+ ${PROJECT_SOURCE_DIR}/xC.lxdr > xC-proto.c
DEPENDS
- ${PROJECT_SOURCE_DIR}/xC-gen-proto.awk
- ${PROJECT_SOURCE_DIR}/xC-gen-proto-c.awk
- ${PROJECT_SOURCE_DIR}/xC-proto
- COMMENT "Generating xC relay protocol code")
+ ${PROJECT_SOURCE_DIR}/liberty/tools/lxdrgen.awk
+ ${PROJECT_SOURCE_DIR}/liberty/tools/lxdrgen-c.awk
+ ${PROJECT_SOURCE_DIR}/xC.lxdr
+ COMMENT "Generating xC relay protocol code" VERBATIM)
add_custom_target (xC-proto DEPENDS ${PROJECT_BINARY_DIR}/xC-proto.c)
# Build