2024-12-19 13:27:16 +02:00
|
|
|
subdir('cfgrpt')
|
2025-01-29 13:23:29 +02:00
|
|
|
kea_process_lib = library(
|
|
|
|
'kea-process',
|
|
|
|
'config_base.cc',
|
|
|
|
'config_ctl_info.cc',
|
|
|
|
'config_ctl_parser.cc',
|
|
|
|
'daemon.cc',
|
|
|
|
'd_cfg_mgr.cc',
|
|
|
|
'd_controller.cc',
|
|
|
|
'd_log.cc',
|
|
|
|
'logging_info.cc',
|
|
|
|
'log_parser.cc',
|
|
|
|
'process_messages.cc',
|
|
|
|
'redact_config.cc',
|
|
|
|
cpp_args: [f'-DDATA_DIR="@TOP_BUILD_DIR@"'],
|
2025-02-04 12:07:49 +02:00
|
|
|
dependencies: [boost],
|
2025-01-29 13:23:29 +02:00
|
|
|
include_directories: [include_directories('.')] + INCLUDES,
|
|
|
|
install: true,
|
|
|
|
install_dir: 'lib',
|
|
|
|
link_with: LIBS_BUILT_SO_FAR,
|
2024-12-19 13:27:16 +02:00
|
|
|
)
|
2025-01-29 13:23:29 +02:00
|
|
|
LIBS_BUILT_SO_FAR = [kea_process_lib] + LIBS_BUILT_SO_FAR
|
2025-02-04 12:07:49 +02:00
|
|
|
kea_process_headers = [
|
|
|
|
'cb_ctl_base.h',
|
|
|
|
'config_base.h',
|
|
|
|
'config_ctl_info.h',
|
|
|
|
'config_ctl_parser.h',
|
|
|
|
'daemon.h',
|
|
|
|
'd_cfg_mgr.h',
|
|
|
|
'd_controller.h',
|
|
|
|
'd_log.h',
|
|
|
|
'd_process.h',
|
|
|
|
'logging_info.h',
|
|
|
|
'log_parser.h',
|
|
|
|
'process_messages.h',
|
|
|
|
'redact_config.h',
|
|
|
|
]
|
|
|
|
install_headers(kea_process_headers, preserve_path: true, subdir: 'kea/process')
|