Patrick Williams | ad145e0 | 2020-05-19 16:45:15 -0500 | [diff] [blame] | 1 | executable( |
| 2 | 'list-users', |
| 3 | 'list-users.cpp', |
Patrick Williams | d0285b9 | 2020-06-01 09:43:47 -0500 | [diff] [blame] | 4 | dependencies: sdbusplus_dep, |
Patrick Williams | ad145e0 | 2020-05-19 16:45:15 -0500 | [diff] [blame] | 5 | ) |
| 6 | |
William A. Kennington III | 7d8dfc4 | 2020-06-04 02:45:26 -0700 | [diff] [blame] | 7 | executable( |
| 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 | ) |
Patrick Williams | ad145e0 | 2020-05-19 16:45:15 -0500 | [diff] [blame] | 19 | |
| 20 | calc_buildroot = meson.current_build_dir() |
| 21 | calc_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 | |
| 31 | executable( |
| 32 | 'calculator-server', |
| 33 | 'calculator-server.cpp', |
| 34 | calc_files, |
Patrick Williams | d0285b9 | 2020-06-01 09:43:47 -0500 | [diff] [blame] | 35 | dependencies: sdbusplus_dep, |
Patrick Williams | ad145e0 | 2020-05-19 16:45:15 -0500 | [diff] [blame] | 36 | ) |