The following scenario happens a lot:
- I change a header which is included in a lot of places, e.g. to add a function declaration.
- I add a function definition to the corresponding source file, which has an error because I'm dumb.
- I compile, and wait a long time for a bunch of irrelevant stuff to be compiled before I see the error in the code I'm working on.
If cmake would prioritize compiling recently modified files first, it would reduce my test cycle time in these cases by several minutes. Is this possible?