[Qt-creator] Generating QtCreator cmake project for given CMakeLists.txt from command line

René J.V. Bertin rjvbertin at gmail.com
Sat Jun 4 18:46:46 CEST 2016

On Saturday June 04 2016 18:57:53 Konstantin Tokarev wrote:

> CMake stores generator and all variables passed on command line in CMakeCache.txt so you don't have to pass these arguments again given that you don't wipe cache out.

Indeed, that's the theory, and that's why you can usually trust it when cmake is executed after calling make (or ninja) when something detects a discrepancy. As long as the environment hasn't changed, that is.

But as I said, there are times where you indeed need to remove the cache first.


More information about the Qt-creator mailing list