meson.build (b481d9055fc7a0f4feab7ca54dd8dc784e0091b2) meson.build (3fb52e53551e528f4b2f53b053a7e996993d06d7)
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

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

35 logging_src = 'logging.cpp'
36else
37 logging_src = '../test/end2end/logging.cpp'
38endif
39
40# gather attention sources to be used here and elsewhere if needed
41attn_src = files('attn_main.cpp', 'attn_handler.cpp', 'attn_monitor.cpp',
42 'bp_handler.cpp', 'ti_handler.cpp', logging_src,
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

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

35 logging_src = 'logging.cpp'
36else
37 logging_src = '../test/end2end/logging.cpp'
38endif
39
40# gather attention sources to be used here and elsewhere if needed
41attn_src = files('attn_main.cpp', 'attn_handler.cpp', 'attn_monitor.cpp',
42 'bp_handler.cpp', 'ti_handler.cpp', logging_src,
43 'attention.cpp')
43 'attention.cpp', 'attn_config.cpp')
44
45# Create attention handler library
46attn = static_library('attn_handler',
47 attn_src,
48 include_directories : incdir,
49 dependencies : [whole_archive, libpdbg,
50 no_whole_archive, sdbusplus, libgpiod],
51 cpp_args : boost_args,
52 install : true)
44
45# Create attention handler library
46attn = static_library('attn_handler',
47 attn_src,
48 include_directories : incdir,
49 dependencies : [whole_archive, libpdbg,
50 no_whole_archive, sdbusplus, libgpiod],
51 cpp_args : boost_args,
52 install : true)