glslang-zig/glslang
Ben Clayton 31cad22758 Use CMake's builtin functionality for PCHs
`glslang_pch()` did manual mangling of the compiler flags to enable pre-compiled headers.
I couldn't get this approach to work with the `MachineIndependent` subdirectory, but fortunately CMake has added first-class support for precompiled headers in 3.16, which does work with subdirectories.

Moved `glslang_pch()` to the other global function declarations.

`glslang_pch()` is a no-op when using CMake earlier than `3.16`.

CMake's PCH implementation does not need the `pch.cpp` files, so just remove them.
2020-07-07 16:44:19 +01:00
..
CInterface C Interface: Split SPIR-V C interface to own file 2020-06-15 13:22:19 +01:00
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
HLSL Use CMake's builtin functionality for PCHs 2020-07-07 16:44:19 +01:00
Include Bump revision. 2020-07-02 05:02:17 -06:00
MachineIndependent Use CMake's builtin functionality for PCHs 2020-07-07 16:44:19 +01:00
OSDependent License headers: s/Google/The Khronos Group 2020-07-03 12:21:01 +01:00
Public Fix GLSLANG_IS_SHARED_LIBRARY define 2020-07-02 16:10:20 +01:00
CMakeLists.txt Use CMake's builtin functionality for PCHs 2020-07-07 16:44:19 +01:00
updateGrammar License headers: s/Google/The Khronos Group 2020-07-03 12:21:01 +01:00