I'm newbie in Cmake. I always use SET(CMAKE_VERBOSE_MAKEFILE ON)
to view -I ..
-D..
or other options (for example -lpthread, -ldl,
...). I don't know have any way to view this options before run make (build code). Anyone can guide how to do that. Thank you.
Asked
Active
Viewed 38 times
0

Trung Trinh
- 57
- 1
- 7
-
Do you mean `make VERBOSE=1`? Or `make VERBOSE=1 -n` which doesn't execute commands, just shows them. – Tsyvarev Mar 30 '18 at 15:10
-
seem VERBOSE=1 -n work with me. Thanks :) – Trung Trinh Mar 30 '18 at 17:05