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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Meson file for Millepede-II
project('millepede', ['c', 'cpp','fortran'],
version: '2.0.0',
license: 'LGPL2+',
default_options: ['buildtype=debugoptimized'])
pede_c_args = []
zlibdep = dependency('zlib', required: false)
if zlibdep.found()
pede_c_args += '-DUSE_ZLIB'
endif
mille = library('mille', ['Mille.cc', 'mille_c_wrap.cc'],
install: true)
millepede_dep = declare_dependency(include_directories: '.',
link_with: mille)
executable('pede',
['mpdef.f90',
'mpdalc.f90',
'mpmod.f90',
'mpmon.f90',
'mpbits.f90',
'mpqldec.f90',
'mptest1.f90',
'mptest2.f90',
'mille.f90',
'mpnum.f90',
'mptext.f90',
'mphistab.f90',
'minresDataModule.f90',
'minresModule.f90',
'minresqlpDataModule.f90',
'minresqlpBlasModule.f90',
'minresqlpModule.f90',
'randoms.f90',
'vertpr.f90',
'linesrch.f90',
'Dbandmatrix.f90',
'pede.f90',
'readc.c'],
fortran_args: ['-DREAD_C_FILES', '-cpp'],
c_args: pede_c_args,
dependencies: [zlibdep],
install: true)
|