[CMake] showing the exact compiler command line

Filipe Sousa natros at gmail.com
Wed Apr 4 13:24:02 EDT 2007


Jesper Eskilson wrote:
> Hi!
> 
> Is there any way to get NMake Makefiles to show the exact compiler
> options used? If I do
> 
> nmake VERBOSE=yes
> 
> I only see that cl is executed like this:
> 
> [...]/cl.exe @commandfile
> 
> but the command file is removed when nmake exits.
> 
> I'm having trouble setting CMAKE_CXX_FLAGS[_<CONFIG>] properly.

Have a look at flags.cmake in the build tree.

Filipe Sousa




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20070404/6de1cdc2/signature.pgp


More information about the CMake mailing list