cmake - show command line for a test
Alexander Neundorf
neundorf at kde.org
Sun Feb 12 19:04:03 CET 2006
On Sunday 12 February 2006 18:00, Christian Ehrlicher wrote:
> Hi,
>
> Can I somehow see the command line which is used for a test. Currently I
> see only
> 'Determining if files crt_externs.h exist failed with the following output:
> <sourcecode>'
>
> When I could see the command line it would be easier to see why the test
> failed...
>
> Christian
I guess you had a look at CMakeError.log ?
For me this contains the full information:
Determining if files crt_externs.h exist failed with the following output:
/usr/local/bin/cmake
-H/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp
-B/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/gmake -f CMakeFiles/Makefile2 cmTryCompileExec
gmake[1]: Entering directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake
-H/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp
-B/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/cmTryCompileExec.dir/all
gmake[2]: Entering directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/depend
gmake[3]: Entering directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
Scanning dependencies of target cmTryCompileExec
/usr/local/bin/cmake -E cmake_depends "Unix
Makefiles" /home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp
/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp
/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/DependInfo.cmake
gmake[3]: Leaving directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
gmake[3]: Entering directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.o
/usr/bin/gcc -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-common
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.o
-c /home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/home/alex/src/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:25:
crt_externs.h: No such file or directory
gmake[3]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.o] Error 1
gmake[3]: Leaving directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
gmake[2]: Leaving directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
gmake[2]: *** [CMakeFiles/cmTryCompileExec.dir/all] Error 2
gmake[1]: Leaving directory
`/home/src/my_stuff/kde4-svn/kdelibs-build/CMakeFiles/CMakeTmp'
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/rule] Error 2
gmake: *** [cmTryCompileExec] Error 2
Source:
/* */
#include <crt_externs.h>
int main(){return 0;}
Is this different for you ?
Bye
Alex
--
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the Kde-buildsystem
mailing list