[CMake] CMAKE_VERBOSE_MAKEFILE broken ?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Dec 28 12:52:38 EST 2005


Hi, 
 
it seems SET(CMAKE_VERBOSE_MAKEFILE TRUE) doesn't work anymore with 
current cmake cvs :-/ 
Here is a testcase: 
 
--8<-- CMakeLists.txt ----8<----------8<---------- 
 
SET(CMAKE_VERBOSE_MAKEFILE ON) 
 
ADD_EXECUTABLE(blah main.c) 
 
--8<-- main.c ----8<----------8<---------- 
 
 
#include <stdio.h> 
 
int main() 
{ 
   printf("hallo welt\n"); 
} 
 
-------8<------------8<------------------------ 
 
produces: 
 
~/src/cmakeverbose$ make 
/usr/local/bin/cmake -H/home/alex/src/cmakeverbose 
-B/home/alex/src/cmakeverbose --check-build-system 
CMakeFiles/Makefile.cmake 0 
make -f CMakeFiles/Makefile2 all 
make[1]: Entering directory `/home/src/my_stuff/cmakeverbose' 
make[2]: Entering directory `/home/src/my_stuff/cmakeverbose' 
Scanning dependencies of target blah 
make[2]: Leaving directory `/home/src/my_stuff/cmakeverbose' 
make[2]: Entering directory `/home/src/my_stuff/cmakeverbose' 
Building C object CMakeFiles/blah.dir/main.o 
Linking C executable blah 
make[2]: Leaving directory `/home/src/my_stuff/cmakeverbose' 
make[1]: Leaving directory `/home/src/my_stuff/cmakeverbose' 
 
 
Bye 
Alex 
 

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


More information about the CMake mailing list