2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-23 18:37:35 +00:00
kea/src/lib/mysql/meson.build

25 lines
629 B
Meson
Raw Normal View History

2024-12-19 13:27:16 +02:00
if not mysql.found()
subdir_done()
2024-12-19 13:27:16 +02:00
endif
kea_mysql_lib = library(
'kea-mysql',
'mysql_binding.cc',
'mysql_connection.cc',
cpp_args: [f'-DKEA_ADMIN="@KEA_ADMIN@"'],
dependencies: [boost, mysql],
include_directories: [include_directories('.')] + INCLUDES,
install: true,
install_dir: 'lib',
link_with: LIBS_BUILT_SO_FAR,
2024-12-19 13:27:16 +02:00
)
LIBS_BUILT_SO_FAR = [kea_mysql_lib] + LIBS_BUILT_SO_FAR
subdir('testutils')
subdir('tests')
kea_mysql_headers = [
'mysql_binding.h',
'mysql_connection.h',
'mysql_constants.h',
]
install_headers(kea_mysql_headers, preserve_path: true, subdir: 'kea/mysql')