meson.build (62bc968dcde767a55976f968f8ff17f0ffcda557) meson.build (1d038d58c6c3c70772bb0b306d02f2d1c99b66dc)
1project('phosphor-logging', 'cpp',
2 meson_version: '>= 0.57.0',
3 default_options: [
4 'buildtype=debugoptimized',
5 'cpp_std=c++20',
6 'warning_level=3',
7 'werror=true',
8 'libonly=' + (meson.is_subproject() ? 'true' : 'false'),

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

13cpp = meson.get_compiler('cpp')
14
15python_prog = find_program('python3', native: true)
16systemd_dep = dependency('systemd')
17
18sdbusplus_dep = dependency('sdbusplus')
19sdbusplusplus_prog = find_program('sdbus++', native: true)
20sdbuspp_gen_meson_prog = find_program('sdbus++-gen-meson', native: true)
1project('phosphor-logging', 'cpp',
2 meson_version: '>= 0.57.0',
3 default_options: [
4 'buildtype=debugoptimized',
5 'cpp_std=c++20',
6 'warning_level=3',
7 'werror=true',
8 'libonly=' + (meson.is_subproject() ? 'true' : 'false'),

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

13cpp = meson.get_compiler('cpp')
14
15python_prog = find_program('python3', native: true)
16systemd_dep = dependency('systemd')
17
18sdbusplus_dep = dependency('sdbusplus')
19sdbusplusplus_prog = find_program('sdbus++', native: true)
20sdbuspp_gen_meson_prog = find_program('sdbus++-gen-meson', native: true)
21sdbusplusplus_depfiles = files()
22if sdbusplus_dep.type_name() == 'internal'
23 sdbusplusplus_depfiles = subproject('sdbusplus').get_variable('sdbusplusplus_depfiles')
24endif
21
22pdi_dep = dependency('phosphor-dbus-interfaces')
23
24# Find the installed YAML directory, either from a configure option or
25# by pulling it from the PDI dependency.
26yamldir = get_option('yamldir')
27if yamldir == ''
28 yamldir = pdi_dep.get_variable(pkgconfig: 'yamldir', internal: 'yamldir')

--- 148 unchanged lines hidden ---
25
26pdi_dep = dependency('phosphor-dbus-interfaces')
27
28# Find the installed YAML directory, either from a configure option or
29# by pulling it from the PDI dependency.
30yamldir = get_option('yamldir')
31if yamldir == ''
32 yamldir = pdi_dep.get_variable(pkgconfig: 'yamldir', internal: 'yamldir')

--- 148 unchanged lines hidden ---