I am trying to use glslang to compile glsl shader code to SPIR-V binaries. The glslang project can be found here:
https://github.com/KhronosGroup/glslang
It works well via the glslangValidator.exe manually in the command line. But i would like to use the c++ interface.
I have build the project as described on the github page, and now I am struggling with how to actually use the interface.
I would rather not actually include any projects in my solution (I am using Visual Studio), but link the .lib's and headers needed to use it. I just cannot find out which ones i need to link. The github page only mentions ShaderLang.h and StandAlone.cpp, which is not enough.
Can someone explain how to setup a project where you can use glslang? I need it only for compiling glsl shader code to SPIR-V binaries (with debugging info about the shader compilation). I Suppose this would be a very easy question for someone who has already done it, or has more experience.