Hacker News new | ask | show | jobs
by WickedSmoke 1173 days ago
Yes, that declarative style makes more sense to me than a forwards build statement of steps.

I developed my own tool for building C/C++ projects which follows this style. It automatically handles things like Qt moc and scans the source files for headers, so in your example even the hdrs line can be omitted.

1 comments

The trouble with scanning for headers automatically is that it allows you to accidently include one that is from an unrelated part of the project.