diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-12 13:19:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-18 08:53:52 +0200 |
commit | 6739825aa6e432fdb668e842def12c5deb3e5bad (patch) | |
tree | 5988d5fd30070826da2bef77a9058494058044a6 /meson_options.txt | |
parent | 721fa5e563e8174d6c33e1e413cebb5442625932 (diff) |
build: move coroutine backend selection to meson
To simplify the code, rename coroutine-win32.c to match the option
passed to configure.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 28884817e6..cd4a183f29 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -31,6 +31,9 @@ option('fuzzing_engine', type : 'string', value : '', description: 'fuzzing engine library for OSS-Fuzz') option('trace_file', type: 'string', value: 'trace', description: 'Trace file prefix for simple backend') +option('coroutine_backend', type: 'combo', + choices: ['ucontext', 'sigaltstack', 'windows', 'auto'], + value: 'auto', description: 'coroutine backend to use') # Everything else can be set via --enable/--disable-* option # on the configure script command line. After adding an option |