如何让CMake生成具有进度跟踪的KDE风格的makefile?

时间:2010-12-28 19:37:44

标签: cmake build-automation kde

Generating moc_krvfshandler.cpp
[  2%] [  2%] Building CXX object krusader/GUI/CMakeFiles/GUI.dir/GUI_automoc.o
Building CXX object krusader/DiskUsage/CMakeFiles/DiskUsage.dir/DiskUsage_automoc.o
[  2%] Building CXX object krusader/Dialogs/CMakeFiles/Dialogs.dir/Dialogs_automoc.o
Generating moc_krmousehandler.cpp
[  3%] Building CXX object krusader/ActionMan/CMakeFiles/ActionMan.dir/actionman.o
Generating moc_packjob.cpp
[  4%] Building CXX object krusader/Dialogs/CMakeFiles/Dialogs.dir/krsqueezedtextlabel.o
Generating moc_krpreviews.cpp
[  4%] Built target VFS_automoc
[  4%] Generating moc_krvfsmodel.cpp

想要同样的事情。

1 个答案:

答案 0 :(得分:1)

根据CMake文档,这是RULE_MESSAGES属性,默认情况下为ON,仅适用于基于Makefile的目标。