mondradiko / mdo-core

1 stars 1 forks source link

Vcpkg #9

Closed marceline-cramer closed 3 years ago

marceline-cramer commented 3 years ago

Resolves #1

Loads the vcpkg systems from the prototype engine into the build tree. This allows Windows builds to be done easily.

Shader compilation is disabled on Windows for now. The reason for this is that although shaderc is in the vcpkg upstream repositories, it's not exposed to CMake as a target, so we'd need to add the direct path to the glslc.exe executable. However, glslc itself is outdated in the vcpkg repos. To get around this, we can manually share compiled shaders with .zip packages.

I'll make a new issue after this PR is merged with more information and workarounds.