I've got some source files ranging from 20,000 lines up to 120,000 lines each. They are made of simple (very long) functions, just a long series of calls to C methods (in Apple's API's - e.g. Quartz) and should be easy to compile.
However, Xcode takes hours to compile them, and it FORCES a re-compile seemingly every time the xcodeproj file changes (xcode bug?). Also, doing an Archive (for upload to App Store) causes a complete re-compile anyway.
These files are stupid-long - they're the output of a code-generating tool - and I may eventually be able to get them smaller - but surely there's a way to make clang work properly on files this length?
Things I've tried:
Possible approach:
gmake with the option -j [n] (try for a good n) Advantages:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With