Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2018-12-06 19:31:47 +0300
committerGitHub <noreply@github.com>2018-12-06 19:31:47 +0300
commitaa270e568a3fd637f4a329611107b384a8023195 (patch)
tree9ff8d986d22a4f9f7eba4ffcd6909acbae661def /README.md
parent2e4563d94f9db4c4ee6c1cb897e39fd6a4bb2b25 (diff)
Be more explicit about SPIRV_WERROR option. (#2141)
There was some confusion about the SPIRV_WERROR option when it is turned off. When the option is off nothing is done. That is, we do not add -Wno-error. This means that if the parent project added -Werorr to the C flags or CXX flags, then warnings will still be treated as errors. I've updated the README.md to make this explicit. Fixes #2121.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 903200a11..534664f77 100644
--- a/README.md
+++ b/README.md
@@ -273,7 +273,7 @@ The following CMake options are supported:
See [`CMakeLists.txt`](CMakeLists.txt) for details.
* `SPIRV_WERROR={ON|OFF}`, default `ON` - Forces a compilation error on any
warnings encountered by enabling the compiler-specific compiler front-end
- option.
+ option. No compiler front-end options are enabled when this option is OFF.
Additionally, you can pass additional C preprocessor definitions to SPIRV-Tools
via setting `SPIRV_TOOLS_EXTRA_DEFINITIONS`. For example, by setting it to