1b4459915SBrad Bishopcpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"'] 2b4459915SBrad Bishop 3b4459915SBrad Bishopexecutable( 4b4459915SBrad Bishop 'entity-manager', 5b4459915SBrad Bishop 'EntityManager.cpp', 6b4459915SBrad Bishop 'Overlay.cpp', 7b4459915SBrad Bishop 'Utils.cpp', 8b4459915SBrad Bishop cpp_args: cpp_args + ['-DBOOST_ASIO_DISABLE_THREADS'], 9b4459915SBrad Bishop dependencies: [ 10b4459915SBrad Bishop boost, 1179a09a8dSBrad Bishop nlohmann_json, 12b4459915SBrad Bishop sdbusplus, 13ff1ddb7eSBrad Bishop valijson, 14b4459915SBrad Bishop ], 15b4459915SBrad Bishop implicit_include_directories: false, 16b4459915SBrad Bishop include_directories: '../include', 17b4459915SBrad Bishop install: true, 18b4459915SBrad Bishop) 19b4459915SBrad Bishop 2092daaaa3SBrad Bishopif get_option('fru-device') 21*6b3d4c59SAndrei Kartashev cpp_args_fd = cpp_args 22*6b3d4c59SAndrei Kartashev if get_option('fru-device-resizefru') 23*6b3d4c59SAndrei Kartashev cpp_args_fd = cpp_args_fd + ['-DENABLE_FRU_AREA_RESIZE'] 24*6b3d4c59SAndrei Kartashev endif 25b4459915SBrad Bishop executable( 26b4459915SBrad Bishop 'fru-device', 27b4459915SBrad Bishop 'FruDevice.cpp', 28b4459915SBrad Bishop 'Utils.cpp', 29*6b3d4c59SAndrei Kartashev cpp_args: cpp_args_fd, 30b4459915SBrad Bishop dependencies: [ 31b4459915SBrad Bishop boost, 32b4459915SBrad Bishop i2c, 3379a09a8dSBrad Bishop nlohmann_json, 34b4459915SBrad Bishop sdbusplus, 35b4459915SBrad Bishop threads, 36ff1ddb7eSBrad Bishop valijson, 37b4459915SBrad Bishop ], 38b4459915SBrad Bishop implicit_include_directories: false, 39b4459915SBrad Bishop include_directories: '../include', 40b4459915SBrad Bishop install: true, 41b4459915SBrad Bishop ) 4292daaaa3SBrad Bishopendif 43