summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-04-03 13:22:32 -0700
committerWilliam A. Kennington III <wak@google.com>2019-04-03 13:40:41 -0700
commit97e394714ec7e88b13b2675c859c1ef56771ad24 (patch)
tree793a59cfe69034d12711d015976028796cf32e02 /test
parent5d71775cbfb0a3d70565018ca90ac7d254a3fe2d (diff)
downloadstdplus-97e394714ec7e88b13b2675c859c1ef56771ad24.tar.gz
stdplus-97e394714ec7e88b13b2675c859c1ef56771ad24.zip
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 <wak@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/meson.build4
1 files changed, 1 insertions, 3 deletions
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
OpenPOWER on IntegriCloud