cmake-precompiled-header
cmake-precompiled-header copied to clipboard
Add support for Clang
well this seems like a proper PR!
Just note that compared to GCC, clang only uses PCHs with the FORCEINCLUDE option, so you'll probably need something like this: https://github.com/dutow/cmake-precompiled-header/commit/35ee8adbc575a958e0bbb657da640131aae33a9e
https://clang.llvm.org/docs/UsersManual.html#using-a-pch-file