-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
41 lines (38 loc) · 852 Bytes
/
meson.build
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
project('libgit++',
'cpp',
default_options : ['cpp_std=c++17']
)
dep_git2 = dependency('libgit2')
includes = include_directories('src')
library('git++',
[
'src/base/assert.cc',
'src/base/assert.hh',
'src/base/exception.cc',
'src/base/exception.hh',
'src/base/log.cc',
'src/base/log.hh',
'src/base/types.hh',
'src/obj/blob.cc',
'src/obj/blob.hh',
'src/obj/commit.cc',
'src/obj/commit.hh',
'src/obj/object.cc',
'src/obj/object.hh',
'src/obj/tree.cc',
'src/obj/tree.hh',
'src/ref/ref.cc',
'src/ref/ref.hh',
'src/repo/bare.cc',
'src/repo/bare.hh',
'src/buffer.hh',
'src/index.cc',
'src/index.hh',
'src/init.hh',
'src/signature.cc',
'src/signature.hh',
],
dependencies: dep_git2,
include_directories: includes,
link_args: ['-lstdc++fs'],
)