Skip to content

Conversation

@dfaure-kdab
Copy link
Member

ninja was seeing KDChart.tmp as a dependency of KDChart, so the timestamp modification of KDChart.tmp (on each cmake run) would still lead to a full rebuild of everything using the KDChart header.

Fixed by using file(GENERATE) which is the proper CMake API for this.

ninja was seeing KDChart.tmp as a dependency of KDChart,
so the timestamp modification of KDChart.tmp (on each cmake run)
would still lead to a full rebuild of everything using the KDChart
header.

Fixed by using file(GENERATE) which is the proper CMake API for this.
@dfaure-kdab dfaure-kdab force-pushed the wip/dfaure/file-generate branch from 8a1b3bd to 4fb6b4a Compare August 11, 2025 10:44
@dfaure-kdab dfaure-kdab requested a review from dantti August 13, 2025 17:06
Copy link
Member

@dantti dantti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dfaure-kdab dfaure-kdab merged commit d628357 into KDAB:master Aug 14, 2025
8 checks passed
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