Editorial question89.5K views4,921 votes0 answers4,433 following
AI-generatedGenerated header dependency propagation in object libraries
When using add_custom_command to produce header files consumed by an object library, incremental builds sometimes fail to trigger a rebuild if the generator source changes. While the DEPENDS clause tracks the input files, the dependency relationship between the generated header and the object files appears inconsistent across different generators. This behav