mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-27 10:20:14 +00:00
6aed7ffbc7
Rename the `${SPIRV_TOOLS}` target to `${SPIRV_TOOLS}-static` and alias `${SPIRV_TOOLS}` to either `${SPIRV_TOOLS}-static` or `${SPIRV_TOOLS}-shared` depending on `BUILD_SHARED_LIBS`. Re-point all internal uses of `${SPIRV_TOOLS}` to `${SPIRV_TOOLS}-static`. `${SPIRV_TOOLS}-static` is explicitly renamed to just `${SPIRV_TOOLS}` to ensure the name does not change from current behavior. Build the `SPIRV-Tools-*` libraries as static, as this is what they always were. Force the external targets `gmock` and `effcee` to be built statically. These either do not support being built as shared libraries, or require special flags. Issue: #3482 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
linker.cpp |