mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 01:49:48 +00:00
25 lines
629 B
Meson
25 lines
629 B
Meson
if not mysql.found()
|
|
subdir_done()
|
|
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,
|
|
)
|
|
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')
|