From fc4547b412e28164af1bf8981234c6af959ccc0b Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 13 Jun 2023 10:07:16 +0200 Subject: WIP --- meson.build | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meson.build (limited to 'meson.build') diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..2d571dc --- /dev/null +++ b/meson.build @@ -0,0 +1,30 @@ +project( + 'libmodxml', 'cpp', + version : '0.1', + meson_version: '>= 0.58', + default_options : [ + 'warning_level=3', + 'cpp_std=c++17', + 'cpp_rtti=false', + 'cpp_eh=none', + 'b_ndebug=if-release', + ], +) + +gtest_dep = dependency( + 'gtest', + version: '>= 1.10.0', + main: true, + fallback: ['gtest', 'gtest_main_dep']) + +gmock_dep = dependency( + 'gmock', + version: '>= 1.10.0', + main: false, + fallback: ['gtest', 'gmock_dep']) + +subdir('base') +subdir('utf') +subdir('sax') + +run_target('iwyu', command: 'scripts/iwyu.sh') -- cgit v1.2.3-70-g09d2