| Brad Bishop | b445991 | 2019-11-05 19:39:11 -0500 | [diff] [blame] | 1 | cpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"'] | 
 | 2 |  | 
 | 3 | executable( | 
 | 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 Bishop | 79a09a8 | 2020-01-15 12:23:07 -0500 | [diff] [blame] | 11 |         nlohmann_json, | 
| Brad Bishop | b445991 | 2019-11-05 19:39:11 -0500 | [diff] [blame] | 12 |         sdbusplus, | 
| Brad Bishop | ff1ddb7 | 2020-01-15 12:24:56 -0500 | [diff] [blame] | 13 |         valijson, | 
| Brad Bishop | b445991 | 2019-11-05 19:39:11 -0500 | [diff] [blame] | 14 |     ], | 
 | 15 |     implicit_include_directories: false, | 
 | 16 |     include_directories: '../include', | 
 | 17 |     install: true, | 
 | 18 | ) | 
 | 19 |  | 
| Brad Bishop | 92daaaa | 2020-01-20 15:45:01 -0500 | [diff] [blame] | 20 | if get_option('fru-device') | 
| Andrei Kartashev | 6b3d4c5 | 2020-08-10 19:24:17 +0300 | [diff] [blame] | 21 |     cpp_args_fd = cpp_args | 
 | 22 |     if get_option('fru-device-resizefru') | 
 | 23 |         cpp_args_fd = cpp_args_fd + ['-DENABLE_FRU_AREA_RESIZE'] | 
 | 24 |     endif | 
| Brad Bishop | 92daaaa | 2020-01-20 15:45:01 -0500 | [diff] [blame] | 25 |     executable( | 
 | 26 |         'fru-device', | 
 | 27 |         'FruDevice.cpp', | 
 | 28 |         'Utils.cpp', | 
| Patrick Venture | ab29641 | 2020-12-30 13:39:37 -0800 | [diff] [blame^] | 29 |         'FruUtils.cpp', | 
| Andrei Kartashev | 6b3d4c5 | 2020-08-10 19:24:17 +0300 | [diff] [blame] | 30 |         cpp_args: cpp_args_fd, | 
| Brad Bishop | 92daaaa | 2020-01-20 15:45:01 -0500 | [diff] [blame] | 31 |         dependencies: [ | 
 | 32 |             boost, | 
 | 33 |             i2c, | 
 | 34 |             nlohmann_json, | 
 | 35 |             sdbusplus, | 
 | 36 |             threads, | 
 | 37 |             valijson, | 
 | 38 |         ], | 
 | 39 |         implicit_include_directories: false, | 
 | 40 |         include_directories: '../include', | 
 | 41 |         install: true, | 
 | 42 |     ) | 
 | 43 | endif |