Trick-17 / clang-build

Clang-based cross platform build system written in Python
https://clang-build.readthedocs.io
MIT License
8 stars 3 forks source link

Add support for precompiled headers #104

Open GPMueller opened 4 years ago

GPMueller commented 4 years ago

The ability to precompile headers was recently added to CMake 3.16 (docs), and we should add support in some fashion, too.

Clang documentation is here and here.

GPMueller commented 4 years ago

I would suggest the following approach, close to what CMake does:

Notes:

Questions: