Files
CMake/Tests/RunCMake/SarifOutput/ScriptModeSarifVariable-check.cmake
2025-01-29 08:43:19 -05:00

5 lines
231 B
CMake

# Script mode should ignore the SARIF project variable and export nothing
if (EXISTS "${RunCMake_TEST_BINARY_DIR}/.cmake/sarif/cmake.sarif")
message(FATAL_ERROR "SARIF file should not have been generated in script mode")
endif()