diff options
author | PatriceJiang <397136899@qq.com> | 2022-08-18 03:53:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-30 14:26:48 (GMT) |
commit | 39456c70e1792179b4db780771fe73082122ca5f (patch) | |
tree | cc8cab5b55b9f31e5f07e220153caf6dec15fa8e /Tests/RunCMake/XcodeProject/XcodeSchemaProperty.cmake | |
parent | 4034272ed8f4e4a19797bfd14dfe5268ad4b4324 (diff) | |
download | CMake-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.cmake | 2 |
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) |