[CMake] Library linkage spewage under Makefiles (make -s)

James Bigler bigler at cs.utah.edu
Tue Dec 5 17:16:30 EST 2006


In 2.2 when you specified SET(CMAKE_VERBOSE_MAKEFILE ON) and then did 
"make -s" you got some nice looking output of what you were building.

Now with 2.4 it's all pretty and colored (nice!), but whenever I link a 
library I get what appears to be the contents of link.txt:

Linking CXX shared library ../lib/libManta_Interface.so
/usr/bin/g++-4.0  -fPIC -O2  -shared -Wl,-soname,libManta_Interface.so 
-o ../lib/libManta_Interface.so 
"CMakeFiles/Manta_Interface.dir/AmbientLight.o"
...
-L/tmp/bigler/manta/trunk/opt/lib -lManta_Core -lSCIRun_Core 
-Wl,-rpath,/tmp/bigler/manta/trunk/opt/lib

Is there a way or option I could use to get this stuff to not output 
like it did before with 2.2?

Thanks,
James


More information about the CMake mailing list