【发布时间】:2012-06-15 19:25:52
【问题描述】:
我发现这是同一个问题
Making cmake print commands before executing
但是这个答案对我不起作用。我猜这个答案只适用于cmake。哪些选项不使用 cmake?
注意尝试了这些
make VERBOSE=1 target
make target VERBOSE=1
VERBOSE=1 make target
make V=1 target
make target V=1
V=1 make target
make -V target
make -v target
它们都不起作用。
make -v 返回
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
【问题讨论】:
-
我们已经对此进行了一些讨论,但我刚刚发现了另一个看起来非常相似的问题:Is there any way for “make” to echo commands。
标签: makefile