AFAIKmake
是构建工具的鼻祖。它需要/需要.configure
正确完成才能生成二进制工具/包等。我刚刚评论了节点。
我确实记得使用过一种工具,它在 CLI 上有一个构建进度条,并且运行良好,但不记得名称了。有人可以帮我记住吗?
我正在寻找一个现代的构建工具,它具有最小的依赖集(在 Debian 中)并且具有上述功能。
答案1
许多构建工具提供进度信息。CMake特别是生成 makefile,默认情况下打印出其进度:
Scanning dependencies of target mikmod-static
[ 1%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_AF.c.o
[ 1%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_aiff.c.o
[ 2%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_ahi.c.o
[ 3%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_aix.c.o
[ 3%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_alsa.c.o
[ 4%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_dart.c.o
[ 5%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_ds.c.o
[ 5%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_esd.c.o
[ 6%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_gp32.c.o
[ 7%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_hp.c.o
[ 7%] Building C object CMakeFiles/mikmod-static.dir/drivers/drv_mac.c.o
介子构建系统,或者更确切地说是构建工具忍者通常与它一起使用,还以更紧凑的形式打印进度信息(它在构建过程中显示一行,除非出现问题)。