blob: 24060eac5853c10d9677e57e008d7fc8cf3c6ca3 [file] [log] [blame]
ldap_dep = meson.get_compiler('cpp').find_library('ldap', required: true)
phosphor_ldap_conf_deps = [
boost_dep,
cereal_dep,
phosphor_dbus_interfaces_dep,
phosphor_logging_dep,
sdbusplus_dep,
ldap_dep,
]
phosphor_ldap_conf_lib = static_library(
'phosphor_ldap_conf',
[
'utils.cpp',
'ldap_config.cpp',
'ldap_config_mgr.cpp',
'ldap_mapper_entry.cpp',
'ldap_mapper_serialize.cpp'
],
include_directories: '..',
dependencies: phosphor_ldap_conf_deps,
)
phosphor_ldap_conf_dep = declare_dependency(
link_with: phosphor_ldap_conf_lib,
dependencies: phosphor_ldap_conf_deps,
)
executable(
'phosphor-ldap-conf',
'main.cpp',
include_directories: '..',
dependencies: phosphor_ldap_conf_dep,
install: true,
)