summaryrefslogtreecommitdiff
path: root/meson.build
blob: d8a964129785f912b99375d4e395e05f131f9ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
project(
  'libmodxml', 'cpp',
  version : '0.1',
  meson_version: '>= 0.58',
  default_options : [
    'warning_level=3',
    'cpp_std=c++20',
    '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')