0

when using cmake, it doesn't seem to print out command line contents about how it calls gcc/g++. I wish to see this information, just wonder if cmake has any option or configuration to support my request?

Thanks a lot.

Hind Forsum
  • 8,897
  • 9
  • 50
  • 103

1 Answers1

3

If using Makefiles Generator, it is as simple as make VERBOSE=1.

You can also set CMAKE_VERBOSE_MAKEFILE to ON in your CMakeLists.txt.

arrowd
  • 31,833
  • 7
  • 76
  • 102