[cmake-developers] Automatic project generation with Visual Studio generators
Brad King
brad.king at kitware.com
Fri Sep 16 08:38:59 EDT 2016
On 09/16/2016 03:37 AM, Yves Frederix wrote:
> This would work, but it would make all builds using 'cmake --build'
> more verbose as before actually starting the msbuild-build, this would
> always print an often large number of lines like:
>
> CMake does not need to re-run because .../CMakeFiles/generate.stamp
> is up-to-date.
[snip]
> Or alternatively I could add an option '--verbose|-V' to cmake that
> would control whether to print them?
We don't need to invoke the `--check-stamp-list` command by executing
another process. The `cmake --build` process can just invoke the same
APIs internally, and with options to be quiet. After regeneration is
complete (or not done) then it can run the normal build command.
-Brad
More information about the cmake-developers
mailing list