diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-08-15 12:01:26 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-21 06:30:24 -0400 |
commit | 5242523b5f35813c8e088bc8eae2fb4d4aa50dd6 (patch) | |
tree | 8266deab63138d256ea691c331679074bcedd818 /qapi/meson.build | |
parent | c574e161120aa0b8c76ee90d21d43c6e53e7f1ba (diff) |
meson: convert qapi-specific to meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/meson.build')
-rw-r--r-- | qapi/meson.build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/qapi/meson.build b/qapi/meson.build index f45b80bbfa..2b2872a41d 100644 --- a/qapi/meson.build +++ b/qapi/meson.build @@ -114,8 +114,12 @@ foreach output : qapi_util_outputs i = i + 1 endforeach -# These are still handled by the Makefile -i += qapi_nonmodule_outputs.length() -i += qapi_specific_outputs.length() +foreach output : qapi_specific_outputs + qapi_nonmodule_outputs + if output.endswith('.h') + genh += qapi_files[i] + endif + specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: qapi_files[i]) + i = i + 1 +endforeach qapi_doc_texi = qapi_files[i] |