Replies: 4 comments 7 replies
-
I've just tried and it works (I tried with sccache but it shouln't change anything). 🎉 You need to set the environment variable CMAKE_<LANG>_COMPILER_LAUNCHER to On Linux, my whole command line looked like
(as you can see, I set my environment variable inline). You can use |
Beta Was this translation helpful? Give feedback.
-
I had the experience that you might need to rebuild your toolchain for the changes to take effect. |
Beta Was this translation helpful? Give feedback.
-
@xiaozhuai the follow way may work for some vcpkg port, some other failed! Use the wrapper and set CC/CXX, don’t forget to make CC/CXX keep https://learn.microsoft.com/en-us/vcpkg/users/config-environment#vcpkg_keep_env_vars |
Beta Was this translation helpful? Give feedback.
-
I've created #37689. |
Beta Was this translation helpful? Give feedback.
-
I upgrade my ports everyday, which waste a lot of time.
It's there any tricks that I can use ccache on building vcpkg ports? (I use macos and windows msvc)
This will help me a lot. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions