configure, meson: Migrate renderdoc option to meson

This commit is contained in:
Matt Borgerson 2023-01-23 00:30:40 -07:00
parent 6c67b79e08
commit 16727a386e
2 changed files with 3 additions and 9 deletions

9
configure vendored
View File

@ -273,7 +273,6 @@ EXTRA_OBJCFLAGS=""
EXTRA_LDFLAGS=""
debug_tcg="no"
renderdoc="$auto"
sanitizers="no"
tsan="no"
fortify_source="yes"
@ -800,10 +799,6 @@ for opt do
;;
--disable-tsan) tsan="no"
;;
--disable-renderdoc) renderdoc="disabled"
;;
--enable-renderdoc) renderdoc="enabled"
;;
--disable-tcg) tcg="disabled"
plugins="no"
;;
@ -1054,7 +1049,6 @@ cat << EOF
debug-info debugging information
safe-stack SafeStack Stack Smash Protection. Depends on
clang/llvm >= 3.7 and requires coroutine backend ucontext.
renderdoc improved RenderDoc frame capture support
NOTE: The object files are built at the place where configure is launched
EOF
@ -2687,9 +2681,6 @@ if test "$skip_meson" = no; then
rm -rf meson-private meson-info meson-logs
# xemu
meson_option_add "-Drenderdoc=$renderdoc"
# Built-in options
test "$bindir" != "bin" && meson_option_add "-Dbindir=$bindir"
test "$default_feature" = no && meson_option_add -Dauto_features=disabled

View File

@ -323,3 +323,6 @@ option('profiler', type: 'boolean', value: false,
description: 'profiler support')
option('slirp_smbd', type : 'feature', value : 'auto',
description: 'use smbd (at path --smbd=*) in slirp networking')
option('renderdoc', type: 'feature', value: 'auto',
description: 'improved RenderDoc frame capture support')