How do I view the CMake command line statement that Qt Creator executes?

Posted by Evan on Stack Overflow See other posts from Stack Overflow or by Evan
Published on 2012-10-25T18:10:02Z Indexed on 2012/10/25 23:01 UTC
Read the original article Hit count: 216

Filed under:
|

I'm attempting to debug a command line CMake failure. The same CMake file works in Qt Creator, with the arguments in the Qt Creator window matching what I have entered on the command line.

This makes me think Qt Creator is adding some extra arguments, which makes sense since the generator drop down has several options that specify architecture and CMake version.

Is there a way to get the CMake command that Qt Creator executed to produce the desired result, specifically the arguments passed to the CMake executable?

I found one post that talks about viewing the CMakeCache files to do some forensics, but this only proves there are differences, it doesn't quickly show me what arguments to change.

© Stack Overflow or respective owner

Related posts about cmake

Related posts about qt-creator