mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
The compiler identifies itself with the `__INTEL_DPCPP_COMPILER__` preprocessor definition.
8 lines
287 B
CMake
8 lines
287 B
CMake
|
|
set(_compiler_id_pp_test "defined(__clang__) && defined(__INTEL_DPCPP_COMPILER__)")
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/Clang-DetermineCompilerInternal.cmake")
|
|
|
|
string(APPEND _compiler_id_version_compute "
|
|
# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__INTEL_DPCPP_COMPILER__)")
|