CMake: break up glslang into smaller static libs #2301
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add
GenericCodeGen
andMachineIndependent
static library targets.Privately import both of these into the
glslang
target.Privately import
MachineIndependent
into theSPIRV
target.This is done to break the dependency of
libglslang.so
non-public APIs fromlibspirv.so
,which will become problematic once
glslang
hides its non-public symbols.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
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