-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
63 lines (57 loc) · 1.48 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
## ## ## ## ## ##
## ##
## LITE FM ##
## ##
## ## ## ## ## ##
#/*
# * ---------------------------------------------------------------------------
# * File: meson.build
# *
# * Description: Default meson.build for LiteFM
# *
# * Author: Siddharth Karanam
# * Created: 22/08/24
# *
# * Copyright: 2024 nots1dd. All rights reserved.
# *
# * License: <GNU GPL v3>
# *
# * Revision History:
# * 22/08/24 - Initial creation.
# *
# * ---------------------------------------------------------------------------
# */
project('litefm', 'c',
version : '0.1',
default_options : ['c_std=c99', 'warning_level=3'])
# Dependencies
ncurses_dep = dependency('ncursesw', required: true)
libarchive_dep = dependency('libarchive')
libyaml_dep = dependency('yaml-0.1', required : true)
sdl2_dep = dependency('sdl2')
sdl2_mixer_dep = dependency('sdl2_mixer')
# Include directories
inc_dirs = include_directories('.')
# Source files
src_files = files(
'lfm.c',
'src/cursesutils.c',
'src/filepreview.c',
'src/dircontrol.c',
'src/archivecontrol.c',
'src/clipboard.c',
'src/logging.c',
'src/highlight.c',
'src/hashtable.c',
'src/arg_helpers.c',
'src/musicpreview.c',
'src/inodeinfo.c',
'src/kbinput.c'
)
# Executable target
executable('litefm', src_files,
include_directories : inc_dirs,
dependencies : [ncurses_dep, libarchive_dep, libyaml_dep, sdl2_dep, sdl2_mixer_dep],
install : true,
c_args : ['-Wall', '-Wextra', '-Wpedantic'],
)