Update: I locally fixed CMake's support for CMAKE_VERBOSE_MAKEFILE on Visual Studio 10 (or higher), and submitted a bug report:

  0012504: Fix CMAKE_VERBOSE_MAKEFILE for Visual Studio 10 vcxproj files
  http://public.kitware.com/Bug/view.php?id=12504

It seems to me that only a few lines of code in cmVisualStudioGeneratorOptions::SetVerboseMakefile should be changed. I hope the fix can be included with the next release.

I wrote on 20 September 2010:
When I choose Visual Studio 9 (MSVC 2008) as generator, switching on
CMAKE_VERBOSE_MAKEFILE causes an extra line in the generated vcproj
file, saying:

SuppressStartupBanner="FALSE"

However, when I choose Visual Studio 10 (MSVC 2010), switching on
CMAKE_VERBOSE_MAKEFILE does not seem to have an effect. Right? I would
have liked to have the following line added to section <ClCompile> of
the generated vcxproj file:

<SuppressStartupBanner>false</SuppressStartupBanner>

Doing so would trigger the compiler to print its commandline arguments
onto the output stream or output window, while it is compiling. Which I
find pretty helpful!

Note that the fix I'm proposing now at public.kitware.com/Bug/view.php?id=12504 generates:

  <SuppressStartupBanner></SuppressStartupBanner>

This fix does *not* trigger those annoying "D9035" compiler warnings ("option 'nologo-' has been deprecated"). :-)


Kind regards,

 Niels
--
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center
--
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to