-
Notifications
You must be signed in to change notification settings - Fork 11
/
meson.build
43 lines (34 loc) · 870 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
42
43
project('facad', 'c',
version : '2.20.0',
default_options : ['warning_level=3'])
cc = meson.get_compiler('c')
math_dep = cc.find_library('m', required : false)
src_files = [
'src/main.c',
'src/file_card.c',
'src/dir_config.c',
'src/emoji_utils.c',
'src/args_parser.c',
'src/longlisting.c',
'src/dir_analytics.c',
'src/dev_dir_utils.c',
'src/display_utils.c',
'src/emoji_mappings.c',
'src/git_utils.c',
'src/git_integration.c',
]
version = meson.project_version()
conf_data = configuration_data()
conf_data.set_quoted('VERSION', version)
configure_file(
output : 'config.h',
configuration : conf_data
)
inc = include_directories('.')
executable('facad',
src_files,
include_directories : inc,
dependencies : [math_dep],
install : true)
# Install man page
install_man('docs/man/facad.1')