diff options
author | William R. Dieter <william.r.dieter@intel.com> | 2021-01-22 22:19:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 14:07:02 (GMT) |
commit | ddaf412dd035dbc85d33634d2cfb0b3a8bcdf804 (patch) | |
tree | 4246ee59aeade45c3da7fb2b36334477e5cdb8f7 | |
parent | a619b327686718e10bdecdf2a5d677bfcd4789b5 (diff) | |
download | CMake-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.txt | 5 |
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() |