# CMake Now Speaks SYCL

DevFeed: [CMake Now Speaks SYCL](<https://devfeed.tech/articles/cmake-now-speaks-sycl-133354.md>)

Original publisher: [Read original article](<https://www.khronos.org/blog/cmake-now-speaks-sycl>)

Author: jphilips (jeff@khronosgroup.org)

Published: 2026-11-12T18:09:00Z

Content type: article

Language: en

Sources: [Blogs Khronos Blog](<https://devfeed.tech/sources/blogs-khronos-blog.md>)

Topics: [CMake](<https://devfeed.tech/topics/cmake.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [2020](<https://devfeed.tech/tags/2020.md>), [blog](<https://devfeed.tech/tags/blog.md>), [build](<https://devfeed.tech/tags/build.md>), [clang](<https://devfeed.tech/tags/clang.md>), [cmake](<https://devfeed.tech/tags/cmake.md>), [compile](<https://devfeed.tech/tags/compile.md>), [custom](<https://devfeed.tech/tags/custom.md>), [distributions](<https://devfeed.tech/tags/distributions.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [headers](<https://devfeed.tech/tags/headers.md>), [language](<https://devfeed.tech/tags/language.md>), [native](<https://devfeed.tech/tags/native.md>), [project](<https://devfeed.tech/tags/project.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [revision](<https://devfeed.tech/tags/revision.md>), [split](<https://devfeed.tech/tags/split.md>), [times](<https://devfeed.tech/tags/times.md>), [upstream](<https://devfeed.tech/tags/upstream.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

CMake 4.5 adds opt-in experimental native SYCL language support, reducing the custom build logic projects maintain for each implementation. Projects enable SYCL with `project(... LANGUAGES CXX SYCL)` or `enable_language(SYCL)`, identify source and header files with SYCL file sets (or use `.sycl` filenames), and select a compiler at initial configuration through `SYCLCXX`. CMake recognizes AdaptiveCpp, both DPC++ distributions, and Clang with libsycl; Clang SYCL support remains incomplete, and generator and feature support vary by CMake version and toolchain. Developers still install the compiler and required runtime and hardware drivers. SYCLAcademy has a lesson on the workflow. SYCL 2020 Revision 13's `sycl_khr_split_headers` extension lets developers replace the comprehensive header with headers for specific APIs; compilation-time gains depend on the application and implementation.

## Source excerpt

SYCL is now supported as a native CMake language (experimental and opt-in in CMake 4.5), cutting the custom build logic each project has had to maintain and working across AdaptiveCpp, upstream Clang, and both DPC++ distributions. A new SYCLAcademy lesson walks through the CMake workflow, and SYCL 2020 Revision 13 adds split headers that can reduce compile times.