cmake output
Brad King
brad.king at kitware.com
Fri Feb 3 17:59:08 CET 2006
David Faure wrote:
> A nice feature of the other two build systems is that the output during compilation doesn't
> show the full compilation lines by default, only if an error happens.
>
> Building CXX object kdecore/CMakeFiles/kdecore.dir/kpixmapprovider.o
> /devel/other/inst/icecream/bin/c++ -Dkdecore_EXPORTS -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -fno-exceptions -fno-check-new -fno-common -fPIC -I/devel/kde/src/4/kdelibs/dcop -I/devel/kde/src/4/kdelibs/kdecore -I/devel/kde/src/4/kdelibs/kdeui -I/devel/kde/src/4/kdelibs/kio/kio -I/devel/kde/src/4/kdelibs/libltdl -I/devel/kde/src/4/kdelibs/kio/kfile -I/devel/kde/src/4/kdelibs/interfaces -I/devel/kde/src/4/kdelibs/kio -I/devel/kde/src/4/kdelibs/kio/kssl -I/devel/kde/src/4/kdelibs/kdefx -I/devel/kde/src/4/kdelibs/kabc -I/devel/kde/src/4/qt-copy/include -I/devel/kde/src/4/qt-copy/include/Qt -I/devel/kde/src/4/qt-copy/include/QtCore -I/devel/kde/src/4/qt-copy/include/QtGui -I/devel/kde/src/4/qt-copy/include/Qt3Support -I/devel/kde/src/4/qt-copy/include/QtDesigner -I/devel/kde/src/4/qt-copy/include/QtNetwork -I/devel/kde/src/4/qt-copy/include/QtOpenGL -I/devel/kde/
s!
> rc/4/qt-copy/include/QtSql -I/devel/kde/src/4/qt-copy/include/QtXml -I/devel/kde/src/4/qt-copy/include/QtSvg -I/devel/kde/src/4/qt-copy/include/QtTest -I/devel/kde/src/4/kdelibs -I/usr/X11R6/include -I/devel/kde/build/4/kdelibs4_cmake -I/usr/local/include -I/devel/kde/src/4/kdelibs/kdecore/network -I/devel/kde/build/4/kdelibs4_cmake/kdecore -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT3_SUPPORT -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -DQT_NO_TRANSLATION -D_REENTRANT -DHAVE_CONFIG_H=1 -o kdecore/CMakeFiles/kdecore.dir/kpixmapprovider.o -c /devel/kde/src/4/kdelibs/kdecore/kpixmapprovider.cpp
> Building CXX object kdecore/CMakeFiles/kdecore.dir/ktoolinvocation.o
> /devel/other/inst/icecream/bin/c++ -Dkdecore_EXPORTS -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -fno-exceptions -fno-check-new -fno-common -fPIC -I/devel/kde/src/4/kdelibs/dcop -I/devel/kde/src/4/kdelibs/kdecore -I/devel/kde/src/4/kdelibs/kdeui -I/devel/kde/src/4/kdelibs/kio/kio -I/devel/kde/src/4/kdelibs/libltdl -I/devel/kde/src/4/kdelibs/kio/kfile -I/devel/kde/src/4/kdelibs/interfaces -I/devel/kde/src/4/kdelibs/kio -I/devel/kde/src/4/kdelibs/kio/kssl -I/devel/kde/src/4/kdelibs/kdefx -I/devel/kde/src/4/kdelibs/kabc -I/devel/kde/src/4/qt-copy/include -I/devel/kde/src/4/qt-copy/include/Qt -I/devel/kde/src/4/qt-copy/include/QtCore -I/devel/kde/src/4/qt-copy/include/QtGui -I/devel/kde/src/4/qt-copy/include/Qt3Support -I/devel/kde/src/4/qt-copy/include/QtDesigner -I/devel/kde/src/4/qt-copy/include/QtNetwork -I/devel/kde/src/4/qt-copy/include/QtOpenGL -I/devel/kde/
s!
> rc/4/qt-copy/include/QtSql -I/devel/kde/src/4/qt-copy/include/QtXml -I/devel/kde/src/4/qt-copy/include/QtSvg -I/devel/kde/src/4/qt-copy/include/QtTest -I/devel/kde/src/4/kdelibs -I/usr/X11R6/include -I/devel/kde/build/4/kdelibs4_cmake -I/usr/local/include -I/devel/kde/src/4/kdelibs/kdecore/network -I/devel/kde/build/4/kdelibs4_cmake/kdecore -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT3_SUPPORT -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -DQT_NO_TRANSLATION -D_REENTRANT -DHAVE_CONFIG_H=1 -o kdecore/CMakeFiles/kdecore.dir/ktoolinvocation.o -c /devel/kde/src/4/kdelibs/kdecore/ktoolinvocation.cpp
> ...
>
> The "Building..." lines are informative enough, can cmake hide the full compilation lines,
> and only show them on failure?
By default CMake does not generate a build system that shows this
output. The KDE CMake code must be enabling CMAKE_VERBOSE_MAKEFILE.
-Brad
More information about the Kde-buildsystem
mailing list