From 97e394714ec7e88b13b2675c859c1ef56771ad24 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 3 Apr 2019 13:22:32 -0700 Subject: meson: Use declare_dependency for libraries Now example binaries and tests don't have to be aware of the nuances for configuring the build to use the library. This makes the project library look like any other system dependency. Change-Id: I9bbf33d32057964011fd8387e742e0d92117f848 Signed-off-by: William A. Kennington III --- test/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/meson.build b/test/meson.build index f11864e..bcd016e 100644 --- a/test/meson.build +++ b/test/meson.build @@ -10,8 +10,6 @@ tests = [ foreach t : tests test(t, executable(t.underscorify(), t + '.cpp', - include_directories: includes, implicit_include_directories: false, - link_with: stdplus, - dependencies: [gtest, gmock])) + dependencies: [stdplus, gtest, gmock])) endforeach -- cgit v1.2.1