-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
39 lines (37 loc) · 920 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
debug_print_test_srcs = [
'debug-print-test.c',
]
inc = get_variable('inc', join_paths(meson.current_source_dir(),'..'))
debug_print_test_include_dirs = [
'.',
inc,
]
debug_print_test_deps = [
c_greatest_dep,
debug_print_h_dep,
c_vector_dep,
c_fsio_dep,
c_stringfn_dep,
ansi_codes_dep,
log_dep,
timestamp_dep,
]
debug_print_test_c_args = [
]
debug_print_test_link_args = [
]
debug_print_test_test_dir = join_paths(meson.current_source_dir(), '..')
if get_option('enable-binaries')
debug_print_test_exec = executable('debug-print-test',
debug_print_test_srcs,
dependencies: debug_print_test_deps,
include_directories: debug_print_test_include_dirs,
link_args: debug_print_test_link_args,
c_args: debug_print_test_c_args,
install: false,
)
test('debug-print-test',
debug_print_test_exec, args: ['-v','-a'],
workdir: debug_print_test_test_dir,
)
endif