[CMake] Windows make VERBOSE=1?

Bill Hoffman bill.hoffman at kitware.com
Thu Oct 18 17:03:58 EDT 2007


Gonzalo Garramuño wrote:
> I'm using cmake2.5 HEAD.
> 
> I'm trying to get a verbose build out of it on Windows using NMake 
> Makefiles, with:
> 
> make VERBOSE=1
> 
> but all I get with that are lines like:
> 
> C:\ARCHIV~1\MICROS~1.NET\Vc7\bin\cl.exe 
> @C:/DOCUME~1/gga/CONFIG~1/Temp\nmFF.tmp
> 
> I'm wondering if VERBOSE=1 can be made to work properly.
> Those .tmp files contain all the compiler settings, but they are created 
> and removed right away after a file is compiled or linked.
> 
> At the very least, I'd like to know what file in the source code is 
> responsible for creating the compile/link lines like the above, so I can 
> add a printing of that tmp file first.
> 
> 

See Modules/Windows.cmake, because of the temp file stuff the output of 
verbose is not that useful, you can disable the temp file stuff in that 
file.  However, for projects with large link lines things may or may not 
  actually link.

-Bill



More information about the CMake mailing list