Replies: 1 comment
-
vcpkg does not pass any |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I added
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
to my cmake switches, hoping that vcpkg would pick it up to build own packages.However, it seems that vcpkg ignores it completely. This is suboptimal, because the alternatives come down to spoofing the C/CXX compiler (https://ccache.dev/manual/4.4.2.html#_run_modes), which vcpkg detects as a compiler change, resulting in binary cache invalidation and a rebuild of all dependencies. This, in turn, is problematic if you sometimes have to build without ccache, e.g. when building release binaries.
Environment
To Reproduce
Steps to reproduce the behavior:
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
to cmake switchesExpected behavior
vcpkg should honor the
<LANG>_COMPILER_LAUNCHER
switches and pass it down to CMake.Beta Was this translation helpful? Give feedback.
All reactions