Re: [CMake] CMake and Ninja, RERUN_CMAKE useless?

2019-10-09 Thread Robert Maynard via CMake
The default generator and all other associated information ( '-D' ) is kept in the CMakeCache.txt file in the root of the build directory. The execution of `cmake -S -B ` will reload this cache before doing anything else. Have you verified that your build directory hasn't deleted this file? On

[CMake] CMake and Ninja, RERUN_CMAKE useless?

2019-10-08 Thread Nagurne, James via CMake
Hi all, My question comes from a Ninja generator build system, and is specifically about an internal rule generated by cmake. What is the purpose of the RERUN_CMAKE rule generated by CMake with a Ninja generator? In the current repo, the only reference to this rule is in