meson.build 546 Bytes
Newer Older
Lukas Weber's avatar
Lukas Weber committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
project('load-leveller', 'c', 'cpp',
  version : '2.0',
  meson_version : '>=0.50.0',
  default_options : [
    'warning_level=3',
  ]
)

fmt_dep = dependency('fmt', fallback : ['fmt', 'fmt_dep'])
yamlcpp_dep = dependency('yaml-cpp', version : '>=0.6.0', fallback : ['yaml-cpp', 'yamlcpp_dep'])
mpi_dep = dependency('mpi')

# HDF5 is a pain
cc = meson.get_compiler('cpp')
hdf5_lib = cc.find_library('hdf5')

Lukas Weber's avatar
Lukas Weber committed
17
should_install = not meson.is_subproject()
18

Lukas Weber's avatar
Lukas Weber committed
19
20
21
loadleveller_deps = [ fmt_dep, yamlcpp_dep, mpi_dep, hdf5_lib ]

subdir('src')
22
subdir('test')