Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clear the "Where to build the binaries" history in cmake gui

Tags:

cmake-gui

It's a simple question, yet for the life of me, can't find a simple answer to this question.

like image 471
12345swordy Avatar asked Nov 29 '25 20:11

12345swordy


1 Answers

I don't believe there is a way to clear the cached build paths through the CMake GUI nor through the command line interface; however, in windows you can use the registry editor and navigate to HKEY_CURRENT_USER/SOFTWARE/Kitware/CMakeSetup/Settings/StartPath. There, you'll see some indexed variables prefixed by "WhereBuild". You can modify these paths or delete them entirely.

On OS X, these variables are stored in a properties list located in $HOME/Library/Preferences/com.kitware.CMakeSetup.plist.

On other Unix/Linux-based systems, you may find it in $HOME/.config/Kitware/CMakeSetup.conf

like image 101
Josh Parker Avatar answered Dec 02 '25 03:12

Josh Parker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!