Vincent van Ravesteijn wrote: >> my draft implied one compilation per one #include in our sources, no >> combinations. the only tweaking part was that detection in .h files - one >> has >> to distinguish whether the compilation fails because of header >> insuficiency in >> .h or in consequent .cpp which includes it. >> >> pavel >> > Yes, but if you include ten .h files, and each one includes ten other .h > files, then it is very difficult to find the least amount of includes that > are needed. And in the end, it might not even have any influence on > building times as one .h file is often included through some detours.
i didn't claim we will find optimal solution. but if this script is going to happen i believe it will speed up the compilation. pavel