1b4459915SBrad Bishopcpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"'] 2a9c58929SAndrew Jefferycpp_args += ['-DSYSCONF_DIR="' + sysconfdir + '/"' ] 3b4459915SBrad Bishop 4b4459915SBrad Bishopexecutable( 5b4459915SBrad Bishop 'entity-manager', 6*e45d8c71SBrad Bishop 'entity_manager.cpp', 7*e45d8c71SBrad Bishop 'expression.cpp', 8*e45d8c71SBrad Bishop 'perform_scan.cpp', 9*e45d8c71SBrad Bishop 'perform_probe.cpp', 10*e45d8c71SBrad Bishop 'overlay.cpp', 11*e45d8c71SBrad Bishop 'utils.cpp', 12b4459915SBrad Bishop cpp_args: cpp_args + ['-DBOOST_ASIO_DISABLE_THREADS'], 13b4459915SBrad Bishop dependencies: [ 14b4459915SBrad Bishop boost, 1514a7bc93SAndrew Jeffery nlohmann_json_dep, 16b4459915SBrad Bishop sdbusplus, 17ff1ddb7eSBrad Bishop valijson, 18b4459915SBrad Bishop ], 19b4459915SBrad Bishop implicit_include_directories: false, 20b4459915SBrad Bishop include_directories: '../include', 21b4459915SBrad Bishop install: true, 22b4459915SBrad Bishop) 23b4459915SBrad Bishop 2492daaaa3SBrad Bishopif get_option('fru-device') 256b3d4c59SAndrei Kartashev cpp_args_fd = cpp_args 266b3d4c59SAndrei Kartashev if get_option('fru-device-resizefru') 276b3d4c59SAndrei Kartashev cpp_args_fd = cpp_args_fd + ['-DENABLE_FRU_AREA_RESIZE'] 286b3d4c59SAndrei Kartashev endif 29b4459915SBrad Bishop executable( 30b4459915SBrad Bishop 'fru-device', 31*e45d8c71SBrad Bishop 'expression.cpp', 32*e45d8c71SBrad Bishop 'fru_device.cpp', 33*e45d8c71SBrad Bishop 'utils.cpp', 34*e45d8c71SBrad Bishop 'fru_utils.cpp', 356b3d4c59SAndrei Kartashev cpp_args: cpp_args_fd, 36b4459915SBrad Bishop dependencies: [ 37b4459915SBrad Bishop boost, 38b4459915SBrad Bishop i2c, 3914a7bc93SAndrew Jeffery nlohmann_json_dep, 40b4459915SBrad Bishop sdbusplus, 41b4459915SBrad Bishop threads, 42ff1ddb7eSBrad Bishop valijson, 43b4459915SBrad Bishop ], 44b4459915SBrad Bishop implicit_include_directories: false, 45b4459915SBrad Bishop include_directories: '../include', 46b4459915SBrad Bishop install: true, 47b4459915SBrad Bishop ) 4892daaaa3SBrad Bishopendif 49