1cpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"'] 2 3executable( 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, 11 nlohmann_json, 12 sdbusplus, 13 valijson, 14 ], 15 implicit_include_directories: false, 16 include_directories: '../include', 17 install: true, 18) 19 20if get_option('fru-device') 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 25 executable( 26 'fru-device', 27 'FruDevice.cpp', 28 'Utils.cpp', 29 cpp_args: cpp_args_fd, 30 dependencies: [ 31 boost, 32 i2c, 33 nlohmann_json, 34 sdbusplus, 35 threads, 36 valijson, 37 ], 38 implicit_include_directories: false, 39 include_directories: '../include', 40 install: true, 41 ) 42endif 43