Investigate new clang PCH flags
Clang 11 added
-fpch-debuginfo which should reduce compilation times even further. The first flag should be relatively easy to add, the other two require a little more logic in the build system.
I did a quick test with
.waf-tools/pch.py and got the following for a regular release build of ndn-cxx without tests:
$ time ./waf [...] real 1m49.442s user 6m35.699s sys 0m20.976s
While this is what I get with PCH but without
$ time ./waf [...] real 2m0.835s user 7m24.424s sys 0m23.070s