On 06/08/2010 07:02 PM, Torri, Stephen CIV NSWCDD, W15 wrote:
>> From: cmake-boun...@cmake.org on behalf of Felipe Sodré Silva
>> Sent: Tue 6/8/2010 12:43 PM
>> To: cmake@cmake.org
>> Subject: [CMake] How to see the generated compiler commands?
>>
>>
>> Hi, I wrote a cmake script that generates a unix makefile for a project, and 
>> I'd like to know if there's an easy 
>> way to see the compiler arguments the make system is using to build the 
>> project. Looking at the generated 
>> Makefile doesn't seem to be an option.
> 
> Yes there is. To see what is being done do the following:
>  
> make VERBOSE=1

Alternatively, you can set the CMAKE_VERBOSE_MAKEFILE variable to
TRUE in the CMakeLists.txt to enable verbose "making" by default.

Regards,

Michael
_______________________________________________
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