diff options
author | Alan Baker <alanbaker@google.com> | 2018-01-10 22:23:47 +0300 |
---|---|---|
committer | Alan Baker <alanbaker@google.com> | 2018-01-12 19:19:58 +0300 |
commit | 672494da13d54cf72d41edc67ecc6b53c561afc6 (patch) | |
tree | a9cf3a8aa39bd7d5c7de180c55d20fa45a17f29b /CMakeLists.txt | |
parent | eb0c73dad6102fc0d4f03c62fe910348bae43a11 (diff) |
Adding ostream operators for IR structures
* Added for Instruction, BasicBlock, Function and Module
* Uses new disassembly functionality that can disassemble individual
instructions
* For debug use only (no caching is done)
* Each output converts module to binary, parses and outputs an
individual instruction
* Added a test for whole module output
* Disabling Microsoft checked iterator warnings
* Updated check_copyright.py to accept 2018
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b6feb6f11..e76a6636f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,7 @@ if(${COMPILER_IS_LIKE_GNU}) set(SPIRV_WARNINGS ${SPIRV_WARNINGS} -Werror) endif() elseif(MSVC) - set(SPIRV_WARNINGS -D_CRT_SECURE_NO_WARNINGS /wd4800) + set(SPIRV_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /wd4800) if(${SPIRV_WERROR}) set(SPIRV_WARNINGS ${SPIRV_WARNINGS} /WX) |