Yann Renard wrote:
Dear cmake users,

I would like to use the -j option of make in order to speed up
compilation process using 2 jobs better than 1 (hyperthreading
processor). Problem is the console output is totally messed up
(percentages, name of the file to compile/link etc...). Would you share
a tip to make this work better ?
I frequently use -j8 and the output is not that bad, what version of cmake are you using, and on what OS?

For example, here is cmake building with -j8 on an 8 processor machine:
[ 97%] Building CXX object Source/CMakeFiles/ccmake.dir/CursesDialog/cmCursesMainForm.o
Linking CXX executable ../bin/DumpDocumentation
[ 97%] Building CXX object Source/CMakeFiles/ccmake.dir/CursesDialog/cmCursesPathWidget.o
Linking CXX executable ../bin/ctest
Linking CXX executable ../bin/cmake
Linking CXX executable ../bin/cpack
[ 98%] Building CXX object Source/CMakeFiles/ccmake.dir/CursesDialog/cmCursesStringWidget.o [ 98%] Building CXX object Source/CMakeFiles/ccmake.dir/CursesDialog/cmCursesWidget.o [ 98%] Building CXX object Source/CMakeFiles/ccmake.dir/CursesDialog/ccmake.o
Linking CXX executable ../bin/ccmake
[ 98%] Built target DumpDocumentation
[ 98%] Built target cmake
[ 98%] Built target cpack
[ 98%] Built target ctest
[ 98%] Built target ccmake
[ 98%] [ 98%] [ 98%] Generating ../Docs/cmake.txt
Generating ../Docs/ctest.txt
Generating ../Docs/ccmake.txt
[100%] Built target documentation


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to