3 ms·
I once made something similar for my project as an excercise - it parsed the source code for #includes and figured out automatically what needs to be compiled.
by kgeist 5y ago
I once made something similar for my project as an excercise - it parsed the source code for #includes and figured out automatically what needs to be compiled. It was OKayish for my self-contained project which only used the standard library but it wouldn't work if you had to add third-party dependencies. Today I'd rather just use CMake.