1cpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"'] 2cpp_args += ['-DSYSCONF_DIR="' + sysconfdir + '/"' ] 3 4executable( 5 'entity-manager', 6 'EntityManager.cpp', 7 'PerformScan.cpp', 8 'PerformProbe.cpp', 9 'Overlay.cpp', 10 'Utils.cpp', 11 cpp_args: cpp_args + ['-DBOOST_ASIO_DISABLE_THREADS'], 12 dependencies: [ 13 boost, 14 nlohmann_json, 15 sdbusplus, 16 valijson, 17 ], 18 implicit_include_directories: false, 19 include_directories: '../include', 20 install: true, 21) 22 23if get_option('fru-device') 24 cpp_args_fd = cpp_args 25 if get_option('fru-device-resizefru') 26 cpp_args_fd = cpp_args_fd + ['-DENABLE_FRU_AREA_RESIZE'] 27 endif 28 executable( 29 'fru-device', 30 'FruDevice.cpp', 31 'Utils.cpp', 32 'FruUtils.cpp', 33 cpp_args: cpp_args_fd, 34 dependencies: [ 35 boost, 36 i2c, 37 nlohmann_json, 38 sdbusplus, 39 threads, 40 valijson, 41 ], 42 implicit_include_directories: false, 43 include_directories: '../include', 44 install: true, 45 ) 46endif 47