blob: 044d3a9452998835945163ce11d242c12acc6ffa [file] [log] [blame]
Patrick Williamsad145e02020-05-19 16:45:15 -05001executable(
2 'list-users',
3 'list-users.cpp',
Patrick Williamsd0285b92020-06-01 09:43:47 -05004 dependencies: sdbusplus_dep,
Patrick Williamsad145e02020-05-19 16:45:15 -05005)
6
William A. Kennington III7d8dfc42020-06-04 02:45:26 -07007executable(
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 Williamsad145e02020-05-19 16:45:15 -050019
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,
Patrick Williamsd0285b92020-06-01 09:43:47 -050035 dependencies: sdbusplus_dep,
Patrick Williamsad145e02020-05-19 16:45:15 -050036)