Ben Clayton
b8c3386ec0
CMake: break up glslang into smaller static libs
Add `GenericCodeGen` and `MachineIndependent` static library targets.
Privately import both of these into the `glslang` target.
Privately import `MachineIndependent` into the `SPIRV` target.
This is done to break the dependency of `libglslang.so` non-public APIs from `libspirv.so`,
which will become problematic once `glslang` hides its non-public symbols.
| File | Before | After |
|---------------------------|-----------:|-----------:|
| `libGenericCodeGen.a` | - | `527716` |
| `libglslang.a` | `68175944` | `512938` |
| `libHLSL.a` | `1428` | `1428` |
| `libMachineIndependent.a` | - | `67132202` |
| `libOGLCompiler.a` | `75908` | `75908` |
| `libOSDependent.a` | `23768` | `23768` |
| `libSPIRV.a` | `15710210` | `15710210` |
| `libSPVRemapper.a` | `3250894` | `3250894` |
| File | Before | After |
|-----------------------------------------|-----------:|-----------:|
| `libglslang-default-resource-limits.so` | `117032` | `117032` |
| `libglslang.so` | `22380688` | `22368216` |
| `libHLSL.so` | `7520` | `7520` |
| `libOGLCompiler.a` | `75908` | `75908` |
| `libOSDependent.a` | `23768` | `23768` |
| `libSPIRV.so` | `7288336` | `28151016` |
| `libSPVRemapper.so` | `1940208` | `1940208` |
Issues: #2283, #1484
2020-06-30 14:57:40 +01:00
..
2020-06-15 13:22:19 +01:00
2018-09-12 10:34:54 +02:00
2020-06-30 14:57:40 +01:00
2020-03-11 01:00:13 -06:00
2019-02-21 11:05:21 -05:00
2020-03-19 16:46:30 -04:00
2019-02-21 11:05:21 -05:00
2018-03-02 12:36:02 -07:00
2019-07-01 09:36:15 -05:00
2020-03-19 16:46:30 -04:00
2019-06-08 08:53:11 -04:00
2018-08-07 03:16:20 +09:00
2020-06-26 09:05:31 -06:00
2019-12-09 03:12:10 -07:00
2020-03-30 01:32:23 +03:00
2019-10-29 15:33:54 -04:00
2020-03-21 03:20:25 -04:00
2019-08-20 23:21:56 -06:00
2020-03-05 13:41:34 -06:00
2020-04-27 02:12:05 -06:00
2020-06-26 08:37:06 -06:00
2020-03-19 16:46:30 -04:00
2020-06-26 08:37:06 -06:00
2019-11-07 17:55:22 -05:00
2018-08-07 03:16:20 +09:00
2019-06-25 13:20:16 -04:00
2020-06-18 10:16:40 -04:00
2020-06-18 10:16:40 -04:00