2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[#3730] Added generate messages

This commit is contained in:
Francis Dupont
2025-02-19 22:51:36 +01:00
committed by Andrei Pavel
parent 411249c0fd
commit 60b424b8d1
30 changed files with 383 additions and 5 deletions

View File

@@ -30,3 +30,31 @@ dhcp_mysql_archive = static_library(
)
subdir('libloadtests')
subdir('tests')
if HAS_KEA_MSG_COMPILER
current_source_dir = meson.current_source_dir()
target_gen_messages = run_target(
'src-hooks-dhcp-mysql-mysql_cb_messages',
command: [
kea_msg_compiler,
f'@current_source_dir@/mysql_cb_messages.mes',
],
)
TARGETS_GEN_MESSAGES += [target_gen_messages]
target_gen_messages = run_target(
'src-hooks-dhcp-mysql-mysql_hb_messages',
command: [
kea_msg_compiler,
f'@current_source_dir@/mysql_hb_messages.mes',
],
)
TARGETS_GEN_MESSAGES += [target_gen_messages]
target_gen_messages = run_target(
'src-hooks-dhcp-mysql-mysql_lb_messages',
command: [
kea_msg_compiler,
f'@current_source_dir@/mysql_lb_messages.mes',
],
)
TARGETS_GEN_MESSAGES += [target_gen_messages]
endif