FEB
5
2011
|
How to selectively remove entries from the CMake cache from the command lineJust a short cmake tip today... There are at least three ways you probably already know:
There's another way to do which you maybe did not know yet. (just using "." works if your current directory is the toplevel build directory, i.e. where the CMakeCache.txt is located) So, -U takes as argument a globbing expression and removes everything which matches the globbing expression from the cache. So the example above will remove all entries containing "QT" in their name from the cache and it will be searched again. Alex |
![]() |