I have a project of a Scientific computing kind, the core algorithms are designed using template programming. On the top level it looks like a chain call of functions that based on configuration assemble main types for the facade class and create an instance of that class. There are several, lets say, 6 parameters, that produces around 36 variants of the class. As you already can understand that it takes enormous time like 20-30 mins (Core-i7 and load memory to 100%, 8 GB) to compile on a regular PC. That why I need to set all the parameters to one value (6 variants) during development then it is bearable.
The question is how I can fix it without any substantial intrusion? Do you think pre-compiling each header would help?