[CMake] Nmake verbose=1 gives no valuable output for cl.exe

David Cole david.cole at kitware.com
Wed Nov 4 17:37:25 EST 2009


In the bottom of Modules/Platform/Windows.cmake:

# uncomment these out to debug nmake and borland makefiles
#SET(CMAKE_START_TEMP_FILE "")
#SET(CMAKE_END_TEMP_FILE "")
#SET(CMAKE_VERBOSE_MAKEFILE 1)

Uncomment those three SET lines to see verbose nmake output...


HTH,
David


On Wed, Nov 4, 2009 at 5:07 PM, Dixon, Shane <Shane.Dixon at atmel.com> wrote:

> I added a definition using
>
> SET_TARGET_PROPERTIES( MyProjDLL-sw PROPERTIES
>        COMPILE_FLAGS "-DEMULATION_MODE" )
>
> I tried to use "nmake verbose=1 MyProjDLL-sw" to watch the command-line
> come by and verify it had the right definition, but all I get is this:
>
> C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe
>  @C:\DOCUME~1\SHANE~1.DIX\LOCALS~1\Temp\nm54B2.tmp
> myprojdll.c
>
> Do I have a command-line that's too long so it has to be put into a .tmp
> file?  I can't find the file after the run so I'm assuming it gets deleted.
>  How can I see what's getting passed to cl.exe?
>
> --
> Shane Dixon
> Linux Engineer
> Atmel Corporation
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091104/6a6c7ca0/attachment.htm>


More information about the CMake mailing list