-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathmeson.build
More file actions
43 lines (40 loc) · 1.28 KB
/
Copy pathmeson.build
File metadata and controls
43 lines (40 loc) · 1.28 KB
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
# This file is part of s-dftd3.
# SPDX-Identifier: LGPL-3.0-or-later
#
# s-dftd3 is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# s-dftd3 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with s-dftd3. If not, see <https://www.gnu.org/licenses/>.
# Standalone build for Python-API of DFT-D4, requires a dftd4 library
# in the PKG_CONFIG_PATH environment variable to work.
project(
'dftd3',
'c',
version: '1.4.0',
license: 'LGPL-3.0-or-later',
meson_version: '>=0.55,!=1.8.0',
default_options: [
'buildtype=debugoptimized',
],
)
install = true
sdftd3_dep = dependency(
's-dftd3',
version: '>=@0@'.format(meson.project_version()),
fallback: ['s-dftd3', 'sdftd3_dep'],
default_options: [
'default_library=static',
'api=true',
'python=false',
],
)
sdftd3_header = files('include'/'_dftd3.h')
subdir('dftd3')