mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 13:27:09 +00:00
Add experimental support for SYCL under an experimental gate. The IntelLLVM and Adaptivecpp compilers are recognized, as well as upstream Clang with libsycl support. Fixes: #27219, #27905
17 lines
360 B
C++
17 lines
360 B
C++
#if defined(EXPECT_CXX)
|
|
# if !defined(LANG_CXX) || defined(LANG_SYCL)
|
|
# error "FileSetSource.cxx did not compile as CXX"
|
|
# endif
|
|
#elif defined(EXPECT_SYCL)
|
|
# if !defined(LANG_SYCL) || defined(LANG_CXX)
|
|
# error "FileSetSource.cxx did not compile as SYCL"
|
|
# endif
|
|
#else
|
|
# error "Missing expected language"
|
|
#endif
|
|
|
|
int fileset_source()
|
|
{
|
|
return 0;
|
|
}
|