meson.build (db37c89ff080c633b23c09e94857334a97001c0a) meson.build (0205f3b3ed6f7a7761ebfe13f472b5a6ff6ba7c0)
1# needed to find external libraries not registered with package manager
2cmplr = meson.get_compiler('cpp')
3
4# async gpio monitor needs boost library
5boost_args = ['-DBOOST_ASIO_DISABLE_THREADS',
6 '-DBOOST_ERROR_CODE_HEADER_ONLY',
7 '-DBOOST_SYSTEM_NO_DEPRECATED']
8

--- 14 unchanged lines hidden (view full) ---

23configure_file(
24 input: 'attn_handler.service',
25 output: 'attn_handler.service',
26 copy: true,
27 install_dir:
28 dependency('systemd').get_pkgconfig_variable(
29 'systemdsystemunitdir')
30)
1# needed to find external libraries not registered with package manager
2cmplr = meson.get_compiler('cpp')
3
4# async gpio monitor needs boost library
5boost_args = ['-DBOOST_ASIO_DISABLE_THREADS',
6 '-DBOOST_ERROR_CODE_HEADER_ONLY',
7 '-DBOOST_SYSTEM_NO_DEPRECATED']
8

--- 14 unchanged lines hidden (view full) ---

23configure_file(
24 input: 'attn_handler.service',
25 output: 'attn_handler.service',
26 copy: true,
27 install_dir:
28 dependency('systemd').get_pkgconfig_variable(
29 'systemdsystemunitdir')
30)
31executable('attn_handler',
31
32attn = static_library('attn_handler',
32 'attn_main.cpp', 'attn_handler.cpp', 'attn_monitor.cpp',
33 'attn_main.cpp', 'attn_handler.cpp', 'attn_monitor.cpp',
34 include_directories : incdir,
33 dependencies : [whole_archive, libpdbg,
34 no_whole_archive, sdbusplus, libgpiod],
35 cpp_args : boost_args,
36 install : true)
35 dependencies : [whole_archive, libpdbg,
36 no_whole_archive, sdbusplus, libgpiod],
37 cpp_args : boost_args,
38 install : true)