-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
27 lines (24 loc) · 987 Bytes
/
meson.build
File metadata and controls
27 lines (24 loc) · 987 Bytes
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
# Copyright (c) 2025 The Pacenv developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit/.
# Initialize Meson with project specific properties.
project('pacenv', 'c', default_options : ['c_std=c23', 'warning_level=3'],
license : 'MIT', license_files : ['LICENSE'],
# Meson version can be downgraded, I didn't rely on any version specifics
# when choosing it. It's just the one that was installed on my system.
meson_version : '>=1.8.2', version : '0.1.1')
# Create new executable to run the utility compilation.
executable('pacenv',
[
'src/pacenv/glob.c',
'src/pacenv/main.c',
'src/pacenv/util.c'
],
include_directories : [ 'src/' ],
install : true,
dependencies : [
# Find external dependencies in the system.
dependency('json-c', required : true, version : '>=0.18'),
dependency('libalpm', required : true, version : '>=15.0.0')
])
# vim: set ts=2 sw=2 expandtab: