Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Fischer
emper-echo-server
Commits
fb4cab0b
Commit
fb4cab0b
authored
Nov 27, 2020
by
Florian Fischer
Browse files
[meson] introduce new option which is passed to emper
parent
4a655d69
Pipeline
#52713
failed with stages
in 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
meson.build
View file @
fb4cab0b
...
...
@@ -16,17 +16,9 @@ conf_data = configuration_data()
option_async_io = get_option('async_io')
conf_data.set('USE_ASYNC_IO', option_async_io)
option_try_syscall = get_option('try_syscall')
if option_try_syscall
if not option_async_io
error('try_syscall defined without async_io')
endif
emper_proj = subproject('emper', default_options: ['async_lib=true', 'async_lib_try_syscall=true'])
else
emper_proj = subproject('emper', default_options: ['async_lib=true'])
endif
emper_options = get_option('emper_options')
emper_proj = subproject('emper', default_options: emper_options)
emper_dep = emper_proj.get_variable('emper_dep')
dependencies = [emper_dep]
...
...
meson_options.txt
View file @
fb4cab0b
option('emper_options', type: 'array', value: [])
option('async_io', type: 'boolean', value: true)
option('try_syscall', type: 'boolean', value: true)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment