summaryrefslogtreecommitdiff
path: root/meson_options.txt
Commit message (Collapse)AuthorAgeFilesLines
* meson: Introduce message_bus and tools command line optionDaniel Wagner2023-01-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | To make the consume libdbus via Meson's subproject use case more useful, introduce message_bus and tools command line options which control if the D-Bus daemon and/or the tools are build. The idea here is that depending projects are interested only in the library. The strong recommendation is only to build libdbus as static library: libdbus_dep = dependency( 'dbus-1', required: get_option('libdbus'), fallback: ['dbus', 'libdbus_dep'], default_options: [ 'default_library=static', 'embedded_tests=false', 'message_bus=false', 'modular_tests=disabled', 'tools=false', ], ) This ensures that any installed D-Bus infrastructure on the target system is not overwritten. Signed-off-by: Daniel Wagner <dwagner@suse.de>
* meson: add windows_output_debug_string optionMarc-André Lureau2022-07-131-0/+7
| | | | | | Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> [smcv: Rename to avoid using "Win32" to refer to both 32- and 64-bit] Signed-off-by: Simon McVittie <smcv@collabora.com>
* meson: Allow disabling Valgrind instrumentationSimon McVittie2022-07-131-0/+7
| | | | | | | | | | | | This would currently result in a hard dependency on Valgrind headers when linking dependent projects to libdbus (see https://github.com/mesonbuild/meson/pull/10544 for an attempt to avoid this), so distributions likely don't want to enable this feature in their main builds of valgrind (although they could enable it in special debug builds like the one in Debian's dbus-tests package if desired). Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Implement a runtime_dir optionSimon McVittie2022-07-131-0/+9
| | | | | | | | | | | | | | If the prefix is /usr, then this defaults to /run, similar to the special cases for /var and /etc built into Meson. This is correct for typical modern Linux distributions implementing FHS 3.0. This is intentionally not consistent with Autotools and CMake: if distributions are transitioning to a different way to build dbus, then that's a good time to re-evaluate their build options. Otherwise, this defaults to LOCALSTATEDIR/run, consistent with Autotools and CMake. Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Add machine-readable licensing markers to the Meson build systemSimon McVittie2022-07-131-0/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Make modular_tests an auto featureSimon McVittie2022-07-131-2/+2
| | | | | | | These don't alter the contents of the non-test executables, so we can safely enable them whenever GLib is available. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add Meson build systemFélix Piédallu2022-07-131-0/+276
Signed-off-by: Félix Piédallu <felix@piedallu.me> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>