diff options
| author | 2026-04-12 13:29:59 -0400 | |
|---|---|---|
| committer | 2026-04-12 13:29:59 -0400 | |
| commit | f78a30aaccffddc3e3eab07870e02157322af956 (patch) | |
| tree | 56faa85efa1ca102077bb24d23b9b5c97e03338d /tests/meson.build | |
| parent | 1e0f60341192c79bf49e84e6b187ffb7bfded252 (diff) | |
| download | libnaunet-f78a30aaccffddc3e3eab07870e02157322af956.tar.gz libnaunet-f78a30aaccffddc3e3eab07870e02157322af956.tar.bz2 libnaunet-f78a30aaccffddc3e3eab07870e02157322af956.zip | |
Header shuffle, update deps
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/meson.build b/tests/meson.build index 0482bec..0ff6ffb 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,9 +1,12 @@ -executable('timer_thread', ['timer_thread.c'], dependencies: naunet) -executable('timer_loop', ['timer_loop.c'], dependencies: naunet) -executable('loop_sleep', ['loop_sleep.c'], dependencies: naunet) executable('misc_file', ['misc_file.c'], dependencies: naunet) executable('condition_variable', ['condition_variable.c'], dependencies: naunet) -if not is_windows - executable('stdin_lines', ['stdin_lines.c'], dependencies: naunet) - executable('fs_event', ['fs_event_local.c'], dependencies: naunet) +executable('timer_thread', ['timer_thread.c'], dependencies: naunet) +if get_option('event-loop').enabled() + executable('timer_loop', ['timer_loop.c'], dependencies: naunet) + executable('loop_sleep', ['loop_sleep.c'], dependencies: naunet) + if not is_windows + executable('stdin_lines', ['stdin_lines.c'], dependencies: naunet) + executable('fs_event', ['fs_event_local.c'], dependencies: naunet) + endif endif +executable('cmd_args', ['command_line_args.c'], dependencies: naunet, link_args: is_windows ? ['-mwindows', '-municode'] : []) |