[CMake] showing the exact compiler command line

Jesper Eskilson jesper at eskilson.se
Wed Apr 4 04:36:23 EDT 2007


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.

-- 
/Jesper


More information about the CMake mailing list