summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-01-31 14:43:41 -0800
committerWilliam A. Kennington III <wak@google.com>2019-01-31 14:51:17 -0800
commit15982f6c0a252bc3642efb2df5d3c209e535c4fa (patch)
tree394ed83c08b08f04106101fbd98a0605b7d09aa1 /test
parent9c97d2c4ef34256817fd39bdbaecdfafda4080df (diff)
downloadstdplus-15982f6c0a252bc3642efb2df5d3c209e535c4fa.tar.gz
stdplus-15982f6c0a252bc3642efb2df5d3c209e535c4fa.zip
meson: Add alternative build system
Change-Id: I773281f0df820f4de25a6536fb3858d88b9150fa Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..b918d5d
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,14 @@
+gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
+gmock = dependency('gmock', disabler: true, required: build_tests)
+
+tests = [
+ 'signal',
+]
+
+foreach t : tests
+ test(t, executable(t.underscorify(), t + '.cpp',
+ include_directories: includes,
+ implicit_include_directories: false,
+ link_with: stdplus,
+ dependencies: [gtest, gmock]))
+endforeach
OpenPOWER on IntegriCloud