-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmeson.build
More file actions
39 lines (34 loc) 路 759 Bytes
/
Copy pathmeson.build
File metadata and controls
39 lines (34 loc) 路 759 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
28
29
30
31
32
33
34
35
36
37
38
39
project('zzz', 'c',
version : '0.1.1',
default_options : [
'buildtype=release',
'c_std=gnu23'
]
)
if get_option('buildtype') == 'debug'
add_project_arguments('-Db_sanitize=address', language : 'c')
endif
pcap_dep = dependency('libpcap', required : true)
inc = include_directories('include', 'src')
src_files = files(
'src/auth.c',
'src/crypto/aes.c',
'src/crypto/aes-md5.c',
'src/crypto/base64.c',
'src/crypto/const.c',
'src/crypto/crypto.c',
'src/crypto/md5.c',
'src/main.c',
'src/packet/packet.c',
'src/packet/send.c',
'src/utils/config.c',
'src/utils/device.c',
'src/utils/ini.c',
'src/utils/log.c'
)
executable('zzz',
src_files,
include_directories : inc,
dependencies : pcap_dep,
install : true
)