blob: a879b2b87d23df36d9e9713b27bcf30fb54183ad [file] [log] [blame]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06001project('vpd-manager',
2 'cpp',
3 default_options : ['cpp_std=c++17'],
4 version : '1.0')
5sdbusplus = dependency('sdbusplus')
6phosphor_logging = dependency('phosphor-logging')
7systemd = dependency('libsystemd', version : '>= 221')
8phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
9
10compiler = meson.get_compiler('cpp')
11
12configure_file( output: 'config.h',
13 configuration: {
14 'BUSNAME' : '"' + get_option('BUSNAME') + '"',
15 'OBJPATH' : '"' + get_option('OBJPATH') + '"',
16 'IFACE' : '"' + get_option('IFACE') + '"',
17 }
18 )
19
20configuration_inc = include_directories('.', '../')
21
22vpd_manager_SOURCES =[
23 'manager_main.cpp',
24 'manager.cpp',
25 'server.cpp',
26 'error.cpp'
27 ]
28
29vpd_manager_exe = executable('vpd-manager',
30 vpd_manager_SOURCES,
31 include_directories : configuration_inc,
32 dependencies :[
33 sdbusplus,
34 phosphor_logging,
35 systemd,
36 phosphor_dbus_interfaces,
37 ],
38 )