On Mon, Mar 31, 2008 at 5:17 AM, Niko Vuokko <<a href="mailto:niko.vuokko@tkk.fi">niko.vuokko@tkk.fi</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Monday 31 March 2008 12:07, you wrote:<br>
> This sets CMAKE_VERBOSE_MAKEFILE variable only for current CMakeLists.txt.<br>
> If you want verbose output in all projects, you should use something like:<br>
> set(CMAKE_VERBOSE_MAKEFILE TRUE CACHE BOOL "Verbose output" FORCE)<br>
><br>
> Note, that FORCE causes overwriting current value in cache file. This is<br>
> useful for debugging purposes or if you always want to get verbose output.<br>
><br>
> > in my CMakeLists.txt, but CMakeCache.txt says still that<br>
> ><br>
> > CMakeCache.txt:CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE.<br>
> ><br>
> > Curiously the first built target (a shared library) prints out the gcc<br>
> > command, but the following targets (executables) print out nothing except<br>
> > the basic CMake messages during compilation and linking.<br>
> ><br>
> > I also tried 'make VERBOSE=1' and 'VERBOSE=1 make', but the same thing<br>
> > happens! This would mean that CMake gets my variable from CMakeLists, but<br>
> > somehow the makefile still hates me.<br>
<br>
</div>I have just a single project, which contains one small shared library and<br>
several small executables. I also have just one CMakeLists.txt. Therefore my<br>
current settings should be enough. I also tried fiddling the cache with<br>
ccmake, but it didn't change anything.</blockquote><div><br>What version of CMake is this?<br><br>Can you attach a CMakeLists.txt file that can be used to reproduce the issue?<br></div></div><br>-- <br>Philip Lowman