Skip to content

Use native add_custom_command DEPFILE for SYCL header deps#4356

Open
cyyever wants to merge 1 commit into
intel:mainfrom
cyyever:agent/findsycl-native-depfile
Open

Use native add_custom_command DEPFILE for SYCL header deps#4356
cyyever wants to merge 1 commit into
intel:mainfrom
cyyever:agent/findsycl-native-depfile

Conversation

@cyyever

@cyyever cyyever commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Replaces the make2cmake .d-to-.cmake conversion and the configure-time
include() dance with CMake's native add_custom_command(DEPFILE ...). Header
dependencies now update on every build instead of only on the next reconfigure,
and make2cmake.cmake is deleted (net -142 lines). Relies on CMP0116 NEW,
already active via cmake_minimum_required(3.27).

Replaces the make2cmake .d-to-.cmake conversion and configure-time
include() dance with CMake's native DEPFILE, so header dependencies
update every build instead of only on reconfigure.
@guangyey
guangyey requested a review from fengyuan14 July 17, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants