mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
Intel: Add Intel Clang compiler identification
The compiler identifies itself with the `__INTEL_CLANG_COMPILER` preprocessor definition.
This commit is contained in:
committed by
Brad King
parent
af048185b1
commit
5c3a93ab88
@@ -79,6 +79,7 @@ function(compiler_id_detection outvar lang)
|
||||
AppleClang
|
||||
ARMClang
|
||||
IntelDPCPP
|
||||
IntelClang
|
||||
Clang
|
||||
GNU
|
||||
MSVC
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
set(_compiler_id_pp_test "defined(__clang__) && defined(__INTEL_CLANG_COMPILER)")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/Clang-DetermineCompilerInternal.cmake")
|
||||
|
||||
string(APPEND _compiler_id_version_compute "
|
||||
# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__INTEL_CLANG_COMPILER)")
|
||||
Reference in New Issue
Block a user