summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake
diff options
context:
space:
mode:
authorPatriceJiang <397136899@qq.com>2022-08-18 03:53:52 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-30 14:26:48 (GMT)
commit39456c70e1792179b4db780771fe73082122ca5f (patch)
treecc8cab5b55b9f31e5f07e220153caf6dec15fa8e /Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake
parent4034272ed8f4e4a19797bfd14dfe5268ad4b4324 (diff)
downloadCMake-39456c70e1792179b4db780771fe73082122ca5f.zip
CMake-39456c70e1792179b4db780771fe73082122ca5f.tar.gz
CMake-39456c70e1792179b4db780771fe73082122ca5f.tar.bz2
Xcode: Add settings to control a scheme's GPU Validation values
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake b/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake
index 5edbc89..267e379 100644
--- a/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake
+++ b/Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake
@@ -32,6 +32,8 @@ function(create_scheme_for_property scheme property value)
set_target_properties(${scheme} PROPERTIES XCODE_SCHEME_${property} "${value}")
endfunction()
+create_scheme_for_property(DISABLE_XCODE_SCHEME_ENABLE_GPU_API_VALIDATION ENABLE_GPU_API_VALIDATION OFF)
+create_scheme_for_property(ENABLE_XCODE_SCHEME_ENABLE_GPU_SHADER_VALIDATION ENABLE_GPU_SHADER_VALIDATION ON)
create_scheme_for_property(ENABLE_GPU_FRAME_CAPTURE_MODE_1 ENABLE_GPU_FRAME_CAPTURE_MODE 1)
create_scheme_for_property(ENABLE_GPU_FRAME_CAPTURE_MODE_3 ENABLE_GPU_FRAME_CAPTURE_MODE 3)
create_scheme_for_property(ENABLE_GPU_FRAME_CAPTURE_MODE_DISABLED ENABLE_GPU_FRAME_CAPTURE_MODE Disabled)