cmake-get icon indicating copy to clipboard operation
cmake-get copied to clipboard

Avoiding rebuilds?

Open sohailsomani opened this issue 6 years ago • 1 comments

I'm using the script mode to install dependencies but when I add dependencies to requirements.txt, cmake-get redownloads and rebuilds everything. This is very inefficient. Is there a way to avoid the constant rebuilds?

sohailsomani avatar Oct 19 '18 14:10 sohailsomani

The best way is to use cget which will avoid the rebuilds and can cache downloads.

In cmake-get, we could store in a file which dependencies were installed and not rebuild them, however, there is no mechanism to upgrade just one dependency. The user would need to manually remove the entry from the file for that to work.

pfultz2 avatar Oct 19 '18 18:10 pfultz2