Ratan Gupta | ca039ca | 2022-01-09 12:22:27 +0530 | [diff] [blame] | 1 | phosphor_ldap_conf_deps = [ |
Patrick Williams | e92f4ac | 2022-04-05 16:10:18 -0500 | [diff] [blame^] | 2 | cereal_dep, |
Ratan Gupta | ca039ca | 2022-01-09 12:22:27 +0530 | [diff] [blame] | 3 | phosphor_dbus_interfaces_dep, |
| 4 | phosphor_logging_dep, |
| 5 | sdbusplus_dep, |
| 6 | ] |
| 7 | |
| 8 | phosphor_ldap_conf_lib = static_library( |
| 9 | 'phosphor_ldap_conf', |
| 10 | [ |
| 11 | 'utils.cpp', |
| 12 | 'ldap_config.cpp', |
| 13 | 'ldap_config_mgr.cpp', |
| 14 | 'ldap_mapper_entry.cpp', |
| 15 | 'ldap_mapper_serialize.cpp' |
| 16 | ], |
| 17 | include_directories: '..', |
| 18 | dependencies: phosphor_ldap_conf_deps, |
| 19 | ) |
| 20 | |
| 21 | phosphor_ldap_conf_dep = declare_dependency( |
| 22 | link_with: phosphor_ldap_conf_lib, |
| 23 | dependencies: phosphor_ldap_conf_deps, |
| 24 | ) |
| 25 | |
| 26 | executable( |
| 27 | 'phosphor-ldap-conf', |
| 28 | 'main.cpp', |
| 29 | include_directories: '..', |
| 30 | dependencies: phosphor_ldap_conf_dep, |
| 31 | link_args: ['-lldap'], |
| 32 | install: true, |
| 33 | ) |