KhronosGroup / glslang

Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
Other
2.9k stars 816 forks source link

Allow external control of whether Glslang will be tested or installed #3508

Closed dneto0 closed 4 months ago

dneto0 commented 4 months ago

Expose GLSLANG_TESTS and GLSLANG_ENABLE_INSTALL as options that can be controlled from an enclosing project, or from the command line.

They retain the prior default behaviour. In particular, if Glslang is not the top level project, then they default to OFF.

Fixes: #3507

dneto0 commented 4 months ago

This might need work to cope with SHARED vs. STATIC variations. That is behind some of the bot failures, I think