ADO pipeline changes for OpenSSF Best Practices (#477)

This commit is contained in:
Chuck Walbourn
2024-05-17 16:56:19 -07:00
committed by GitHub
parent 5cf134c714
commit 68e726aefc
11 changed files with 1677 additions and 184 deletions

View File

@@ -570,7 +570,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
if(ENABLE_CODE_ANALYSIS)
foreach(t IN LISTS TOOL_EXES ITEMS ${PROJECT_NAME})
target_compile_options(${t} PRIVATE /analyze)
target_compile_options(${t} PRIVATE /analyze /WX)
endforeach()
endif()