Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to backup the generator cache/settings for cmake gui on windows?

Tags:

c++

opencv

cmake

We are developing a module for opencv to use internal and we would like not to check in the full opencv to TFS.

Is there any way to save all the settings from the cmake gui application such when a new developer joins the team he can easily just download opencv and include the settings for generating the solution files?

like image 400
Poul K. Sørensen Avatar asked Feb 26 '14 10:02

Poul K. Sørensen


1 Answers

There is a CMakeCache.txt file in your build directory. It stores the values changed in the gui application. If you copy this to a new build and reload the cache, the settings should be restored and you can generate the build files.

like image 94
MatthiasB Avatar answered Oct 24 '22 22:10

MatthiasB