Tests: Skip per file PDBs in PDBDirectoryAndName for IntelLLVM

The IntelLLVM C compiler do not yet support PDBs per file with the /Fd
option.  Disable the parts of PDBDirectoryAndName that tries to generate
them so that the test will pass.
This commit is contained in:
William R. Dieter
2021-01-22 17:19:16 -05:00
committed by Brad King
parent a619b32768
commit ddaf412dd0

View File

@@ -9,8 +9,9 @@ endif()
# Intel 11.1 does not support /Fd but Intel 14.0 does.
# TODO: Did a version in between these add it?
if(CMAKE_C_COMPILER_ID STREQUAL Intel AND
CMAKE_C_COMPILER_VERSION VERSION_LESS 14.0)
if((CMAKE_C_COMPILER_ID STREQUAL Intel AND
CMAKE_C_COMPILER_VERSION VERSION_LESS 14.0) OR
CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM")
set(NO_COMPILE_PDB 1)
endif()