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