dbus/cmake/modules
Simon McVittie 9f675abd3f test: Export G_TEST_BUILDDIR, G_TEST_SRCDIR
These environment variables are used by GLib's g_test_build_filename()
and related convenience functions, which make it easier for unit tests
to find data files in a way that works for both build-time tests and
"as-installed" tests. During "as-installed" testing, both variables
will normally be unset, and GLib uses the directory containing the
executable. In most cases that results in the right thing happening, and
this will also be true for dbus, since we install the test executables
in ${libexecdir}/installed-tests, helper executables in the same place,
and test data in ${libexecdir}/installed-tests/data.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 37e0125943)
[backport to 1.14.x: discard Meson build system updates]
(cherry picked from commit bbf5ef008a)
[backport to 1.12.x: resolve conflicts in CMake build system]
2022-10-05 10:46:48 +01:00
..
CheckPrototypeExists.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
CheckStructMember.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
COPYING-CMAKE-SCRIPTS Add glib support to cmake buildsystem. 2014-01-07 19:06:26 +01:00
CPackInstallConfig.cmake Replace deprecated cmake install_ functions with related install(...) calls. 2017-01-30 17:47:35 +01:00
FindDoxygen.cmake * cmake: added doxygen support 2007-03-14 00:16:05 +00:00
FindGLib2.cmake Add glib support to cmake buildsystem. 2014-01-07 19:06:26 +01:00
FindGObject.cmake Add glib support to cmake buildsystem. 2014-01-07 19:06:26 +01:00
FindLibIconv.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
MacroGetenvWinPath.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
MacroLibrary.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
MacroOptionalFindPackage.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
Macros.cmake test: Export G_TEST_BUILDDIR, G_TEST_SRCDIR 2022-10-05 10:46:48 +01:00
MacrosAutotools.cmake cmake: Match AC_DEFINE more precisely, respecting [] quoting 2018-02-07 07:34:35 +00:00
ProjectSourceGroup.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
Win32Macros.cmake * cmake/modules/FindKDEWIN.cmake, cmake/modules/FindKDEWIN_Packager.cmake cmake/modules/Win32Macros.cmake: new files from the kdewin32 project 2007-06-14 07:56:47 +00:00