Hacker News new | ask | show | jobs
by wheybags 1810 days ago
They recently added a CONFIGURE_DEPENDS flag to file(GLOB...), which will automatically rebuild the file list when new files are added.
1 comments

...which comes with a cost (extra reconfiguration of the project), but it 's worth it for many projects.