Xcode: Add settings to control a scheme's GPU Validation values

This commit is contained in:
PatriceJiang
2022-08-18 11:53:52 +08:00
committed by Brad King
parent 4034272ed8
commit 39456c70e1
13 changed files with 99 additions and 0 deletions
@@ -0,0 +1,13 @@
CMAKE_XCODE_SCHEME_ENABLE_GPU_API_VALIDATION
--------------------------------------------
.. versionadded:: 3.25
Property value for ``Metal: API Validation`` in the Options section of
the generated Xcode scheme.
This variable initializes the
:prop_tgt:`XCODE_SCHEME_ENABLE_GPU_API_VALIDATION` property on all targets.
Please refer to the :prop_tgt:`XCODE_GENERATE_SCHEME` target property
documentation to see all Xcode schema related properties.
@@ -0,0 +1,13 @@
CMAKE_XCODE_SCHEME_ENABLE_GPU_SHADER_VALIDATION
-----------------------------------------------
.. versionadded:: 3.25
Property value for ``Metal: Shader Validation`` in the Options section of
the generated Xcode scheme.
This variable initializes the
:prop_tgt:`XCODE_SCHEME_ENABLE_GPU_SHADER_VALIDATION` property on all targets.
Please refer to the :prop_tgt:`XCODE_GENERATE_SCHEME` target property
documentation to see all Xcode schema related properties.