google / google/shaderc

Installing libshaderc only

Open
#1,452 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.2k
Forks
445
Avg merge
11h 6m
Merged PRs (30d)
6

Description

Hello there,

I'm building a project that depends on a recent version of libshaderc, so the version installed by the package manager on my GNU/Linux distro (Debian Testing) is not enough, so I have to build and install libshaderc manually.

Shaderc seems to be unable to use system-installed spirv-tools and glslang, so it builds them on the thirt_party directory. Oh well.

The problem is that when installing libshaderc, the local spirv-tools and glslang copies are also installed, which I don't want because I already have them on my system and I am OK with that.

This is how I configure the sources:

```
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DSHADERC_SKIP_TESTS=ON \
-DSPIRV_SKIP_EXECUTABLES=ON -DSKIP_GLSLANG_INSTALL=ON
```

So, is there a way to use the build system to install libshaderc ONLY? (NO spirv-tools, glslang, etc)

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.