blob: 2702d6cebffab97dc13a452f016766fc6f3329fc [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
20executable(
21 'fru-device',
22 'FruDevice.cpp',
23 'Utils.cpp',
24 cpp_args: cpp_args,
25 dependencies: [
26 boost,
27 i2c,
Brad Bishop79a09a82020-01-15 12:23:07 -050028 nlohmann_json,
Brad Bishopb4459912019-11-05 19:39:11 -050029 sdbusplus,
30 threads,
Brad Bishopff1ddb72020-01-15 12:24:56 -050031 valijson,
Brad Bishopb4459912019-11-05 19:39:11 -050032 ],
33 implicit_include_directories: false,
34 include_directories: '../include',
35 install: true,
36)