Im working on a large project, my issue is as follows:I have a large (200k lines of code) header file which is auto generated code, it contains about 3k classes (all of them are small classes).And the project has about 500 files and each one includes this file to use 2/3 classes of it.I saw in gcc that 65% of compilation for each files goes into parsing.My question is should I create a file for each autogenerated class and include only the files needed instead of this large file and it'll optimize compilation time or is it a waste of time?Thank you so much!
↧