summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-03-09 15:10:03 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-03-09 15:10:03 +0100
commit6d1b3ed5370b133773b4ffe2d25c61bfbc36d06f (patch)
tree3e79a94586bb4ff9b7ae32ec1f5be1ed6f6a5432 /tests
parent16c3fac2db48f4019ed5ab75517b3f2239f1ec15 (diff)
downloadglibmm-6d1b3ed5370b133773b4ffe2d25c61bfbc36d06f.tar.gz
examples, tests: Disable deprecated API when building with Meson
Deprecated GLIBMM and GIOMM API are disabled when example programs and test programs are built with Autotools. Do the same when building with Meson.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 1f4f6bae..14d67e7a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -53,6 +53,7 @@ foreach ex : test_programs
endforeach
exe_file = executable(ex_name, ex_sources,
+ cpp_args: ['-DGLIBMM_DISABLE_DEPRECATED', '-DGIOMM_DISABLE_DEPRECATED'],
dependencies: ex[3] ? giomm_dep : glibmm_dep,
gui_app: false,
build_by_default: true,