Hacker News new | past | comments | ask | show | jobs | submit login

> Also, does ccache work with MSVC?

Technically it works, but it requires some work. You need to pass off ccache's executable as the target compiler, and you need to configure the settings in all vsproj files to allow calls to the compiler to be cacheable, like disabling compilation batching.

Using cmake to generate make/ninja projects and use compilers other than msvc is far simpler and straight-forward: set two cmake vars and you're done.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: