meson: Add alternative build system
Change-Id: I773281f0df820f4de25a6536fb3858d88b9150fa
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..064ebf6
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,21 @@
+project('stdplus', 'cpp',
+ version: '0.1', meson_version: '>=0.49.0',
+ default_options: [
+ 'warning_level=3',
+ 'werror=true',
+ 'cpp_std=c++17'
+ ])
+
+includes = include_directories('src')
+
+subdir('src')
+
+build_tests = get_option('tests')
+build_examples = get_option('examples')
+
+if build_examples
+ subdir('example')
+endif
+if not build_tests.disabled()
+ subdir('test')
+endif