blob: 24060eac5853c10d9677e57e008d7fc8cf3c6ca3 [file] [log] [blame]
Nan Zhou3b80d012022-08-15 21:12:40 +00001ldap_dep = meson.get_compiler('cpp').find_library('ldap', required: true)
2
Ratan Guptaca039ca2022-01-09 12:22:27 +05303phosphor_ldap_conf_deps = [
Konstantin Aladyshevc992c262024-04-02 16:54:35 +03004 boost_dep,
Patrick Williamse92f4ac2022-04-05 16:10:18 -05005 cereal_dep,
Ratan Guptaca039ca2022-01-09 12:22:27 +05306 phosphor_dbus_interfaces_dep,
7 phosphor_logging_dep,
8 sdbusplus_dep,
Nan Zhou3b80d012022-08-15 21:12:40 +00009 ldap_dep,
Ratan Guptaca039ca2022-01-09 12:22:27 +053010]
11
12phosphor_ldap_conf_lib = static_library(
13 'phosphor_ldap_conf',
14 [
15 'utils.cpp',
16 'ldap_config.cpp',
17 'ldap_config_mgr.cpp',
18 'ldap_mapper_entry.cpp',
19 'ldap_mapper_serialize.cpp'
20 ],
21 include_directories: '..',
22 dependencies: phosphor_ldap_conf_deps,
23)
24
25phosphor_ldap_conf_dep = declare_dependency(
26 link_with: phosphor_ldap_conf_lib,
27 dependencies: phosphor_ldap_conf_deps,
28)
29
30executable(
31 'phosphor-ldap-conf',
32 'main.cpp',
33 include_directories: '..',
34 dependencies: phosphor_ldap_conf_dep,
Ratan Guptaca039ca2022-01-09 12:22:27 +053035 install: true,
36)