summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam R. Dieter <william.r.dieter@intel.com>2021-01-22 22:19:16 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-28 14:07:02 (GMT)
commitddaf412dd035dbc85d33634d2cfb0b3a8bcdf804 (patch)
tree4246ee59aeade45c3da7fb2b36334477e5cdb8f7
parenta619b327686718e10bdecdf2a5d677bfcd4789b5 (diff)
downloadCMake-ddaf412dd035dbc85d33634d2cfb0b3a8bcdf804.zip
CMake-ddaf412dd035dbc85d33634d2cfb0b3a8bcdf804.tar.gz
CMake-ddaf412dd035dbc85d33634d2cfb0b3a8bcdf804.tar.bz2
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.
-rw-r--r--Tests/PDBDirectoryAndName/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/PDBDirectoryAndName/CMakeLists.txt b/Tests/PDBDirectoryAndName/CMakeLists.txt
index 95aa351..5aa2459 100644
--- a/Tests/PDBDirectoryAndName/CMakeLists.txt
+++ b/Tests/PDBDirectoryAndName/CMakeLists.txt
@@ -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()