Ratan Gupta | ca039ca | 2022-01-09 12:22:27 +0530 | [diff] [blame] | 1 | phosphor_ldap_mapper_deps = [ |
Patrick Williams | cf53a94 | 2022-03-21 11:10:43 -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_mapper_lib = static_library( |
| 9 | 'phosphor_ldap_mapper', |
| 10 | [ |
| 11 | 'ldap_mapper_mgr.cpp', |
| 12 | 'ldap_mapper_entry.cpp', |
| 13 | 'ldap_mapper_serialize.cpp' |
| 14 | ], |
| 15 | include_directories: '..', |
| 16 | dependencies: phosphor_ldap_mapper_deps, |
| 17 | ) |
| 18 | |
| 19 | phosphor_ldap_mapper_dep = declare_dependency( |
| 20 | link_with: phosphor_ldap_mapper_lib, |
| 21 | dependencies: phosphor_ldap_mapper_deps, |
| 22 | ) |
| 23 | |
| 24 | executable( |
| 25 | 'phosphor-ldap-mapper', |
| 26 | 'main.cpp', |
| 27 | include_directories: '..', |
| 28 | dependencies: phosphor_ldap_mapper_dep, |
| 29 | install: true, |
| 30 | ) |
| 31 | |