diff options
author | Brad King <brad.king@kitware.com> | 2022-08-15 14:51:30 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-08-15 14:51:45 (GMT) |
commit | c5f6d93d5e41774610eb7738ef11f1e636108e6e (patch) | |
tree | 5a597cc38517630f39617e00e84120d8282e9dd7 /Modules | |
parent | c1285c1fc4f377bf9c6a0d3a6218be3e6a37730a (diff) | |
parent | 1cd65dfa0e473788bdb870340fe16da5621fd2ff (diff) | |
download | CMake-c5f6d93d5e41774610eb7738ef11f1e636108e6e.zip CMake-c5f6d93d5e41774610eb7738ef11f1e636108e6e.tar.gz CMake-c5f6d93d5e41774610eb7738ef11f1e636108e6e.tar.bz2 |
Merge topic 'warning-as-error-ti-compiler'
1cd65dfa0e TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Josef Angstenberger <code@jtxa.de>
Merge-request: !7560
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/TI.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/TI.cmake b/Modules/Compiler/TI.cmake index 0f9ded3..6cb115b 100644 --- a/Modules/Compiler/TI.cmake +++ b/Modules/Compiler/TI.cmake @@ -15,6 +15,7 @@ set(__COMPILER_TI_SOURCE_FLAG_CXX "--cpp_file") set(__COMPILER_TI_SOURCE_FLAG_ASM "--asm_file") macro(__compiler_ti lang) + set(CMAKE_${lang}_COMPILE_OPTIONS_WARNING_AS_ERROR "--emit_warnings_as_errors") set(CMAKE_${lang}_RESPONSE_FILE_FLAG "--cmd_file=") # Using --cmd_file flag is not possible after the --run_linker flag. # By using a whitespace only the filename is used without flag. |