I am trying to fasten the build by using precompiled headers. I wonder what is the easiest/fastest way to know which files I should include in my "stdafx.h" so that they only build once?
Right now, I iterate over every file, and collect the #include section into one container for all files. Then, I manually count which file is included and how many times, finally I pick the relatively highest counted files and put them in "stdafx.h".
It works, but this is time consuming and I have many projects. Please and thank you.