[CMake] How to see the generated compiler commands?

Chris Hillery chillery-cmake at lambda.nu
Tue Jun 8 16:40:27 EDT 2010


On Tue, Jun 8, 2010 at 10:02 AM, Torri, Stephen CIV NSWCDD, W15 <
stephen.torri at navy.mil> wrote:

> > From: cmake-bounces at cmake.org on behalf of Felipe Sodré Silva>
> >
> > 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
>
>
FYI:

http://www.cmake.org/Wiki/CMake_FAQ

Question 2.1. There's a lot of other good stuff in there too! :)

Ceej
aka Chris Hillery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100608/d8483045/attachment.htm>


More information about the CMake mailing list