Hi,Experts
I want to know how to get cmake to show a percentage progress report?
like this
[ 66%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAEmitter.cpp.o
[ 66%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o
[ 66%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DirectiveEmitter.cpp.o
I don’t think CMake can do this.
I believe during the processing CMake has no idea how much there’s left because of the things that can be included conditionally, so there is no way to report a meaningful progress.
yes, I has found it, but it looks like dont work normally.
I set NINJA_STATUS in toolchain.cmake file like this set(ENV{NINJA_STATUS} “[%p/%f/%t]”)
please correct me if I am wrong on this.
Thanks.