blob: fc85d9bf62461e3e62f6b45a6e8c8784fbe41e62 [file] [log] [blame]
Brad Bishopb4459912019-11-05 19:39:11 -05001cpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"']
2
3executable(
4 'entity-manager',
5 'EntityManager.cpp',
6 'Overlay.cpp',
7 'Utils.cpp',
8 cpp_args: cpp_args + ['-DBOOST_ASIO_DISABLE_THREADS'],
9 dependencies: [
10 boost,
Brad Bishop79a09a82020-01-15 12:23:07 -050011 nlohmann_json,
Brad Bishopb4459912019-11-05 19:39:11 -050012 sdbusplus,
Brad Bishopff1ddb72020-01-15 12:24:56 -050013 valijson,
Brad Bishopb4459912019-11-05 19:39:11 -050014 ],
15 implicit_include_directories: false,
16 include_directories: '../include',
17 install: true,
18)
19
Brad Bishop92daaaa2020-01-20 15:45:01 -050020if get_option('fru-device')
21 executable(
22 'fru-device',
23 'FruDevice.cpp',
24 'Utils.cpp',
25 cpp_args: cpp_args,
26 dependencies: [
27 boost,
28 i2c,
29 nlohmann_json,
30 sdbusplus,
31 threads,
32 valijson,
33 ],
34 implicit_include_directories: false,
35 include_directories: '../include',
36 install: true,
37 )
38endif