1executable( 2 'list-users', 3 'list-users.cpp', 4 dependencies: sdbusplus_dep, 5) 6 7executable( 8 'asio-example', 9 'asio-example.cpp', 10 cpp_args: [ 11 '-DBOOST_ASIO_DISABLE_THREADS', 12 '-DBOOST_ALL_NO_LIB', 13 '-DBOOST_SYSTEM_NO_DEPRECATED', 14 '-DBOOST_ERROR_CODE_HEADER_ONLY', 15 '-DBOOST_COROUTINES_NO_DEPRECATION_WARNING', 16 ], 17 dependencies: [ boost_dep, sdbusplus_dep ], 18) 19 20calc_buildroot = meson.current_build_dir() 21calc_files = files( 22 run_command( 23 sdbusgen_prog, 24 '--tool', sdbusplusplus_prog, 25 '--output', calc_buildroot, 26 'net', 27 check: true 28 ).stdout().strip().split('\n') 29) 30 31executable( 32 'calculator-server', 33 'calculator-server.cpp', 34 calc_files, 35 dependencies: sdbusplus_dep, 36) 37