On Mon, Mar 31, 2008 at 8:17 AM, Niko Vuokko <[EMAIL PROTECTED]> wrote:
> On Monday 31 March 2008 14:56, you wrote: > > On Mon, Mar 31, 2008 at 5:17 AM, Niko Vuokko <[EMAIL PROTECTED]> wrote: > > > I have just a single project, which contains one small shared library > and > > > several small executables. I also have just one CMakeLists.txt. > Therefore > > > my > > > current settings should be enough. I also tried fiddling the cache > with > > > ccmake, but it didn't change anything. > > > > What version of CMake is this? > > > > Can you attach a CMakeLists.txt file that can be used to reproduce the > > issue? > > My CMake is 2.4-patch 8, it's my personal CMake (in ~/local) as the system > doesn't have one, but it shouldn't matter. Make has version 3.80. > > I tried building the shared library in the executables. Result was that > make > didn't give any extra messages. So somehow the CMAKE_VERBOSE_MAKEFILE is > ok > for libraries, but not for executables. It was also verbose for the > library > if I built it static. > > Here's a minimal CMakeLists.txt, which gives no verbose output: > > PROJECT(XYZ C) > SET(CMAKE_VERBOSE_MAKEFILE TRUE) > ADD_EXECUTABLE(ab ab.c) > > Therefore the problem really lies in executable targets. Do you have any > idea > what might cause this? Some system variable or other maybe? > Seems to work fine for me (using CMake 2.4.8 on Linux (Ubuntu/gutsy)). [EMAIL PROTECTED]:~/tmp/foo/build$ make /usr/local/cmake/bin/cmake -H/home/lowman/tmp/foo -B/home/lowman/tmp/foo/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/cmake/bin/cmake -E cmake_progress_start /home/lowman/tmp/foo/build/CMakeFiles 1 make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/home/lowman/tmp/foo/build' make -f CMakeFiles/xyz.dir/build.make CMakeFiles/xyz.dir/depend make[2]: Entering directory `/home/lowman/tmp/foo/build' make[2]: Nothing to be done for `CMakeFiles/xyz.dir/depend'. make[2]: Leaving directory `/home/lowman/tmp/foo/build' make -f CMakeFiles/xyz.dir/build.make CMakeFiles/xyz.dir/build make[2]: Entering directory `/home/lowman/tmp/foo/build' /usr/local/cmake/bin/cmake -E cmake_progress_report /home/lowman/tmp/foo/build/CMakeFiles 1 [100%] Building C object CMakeFiles/xyz.dir/xyz.o /usr/bin/gcc -o CMakeFiles/xyz.dir/xyz.o -c /home/lowman/tmp/foo/xyz.c Linking C executable xyz /usr/local/cmake/bin/cmake -P CMakeFiles/xyz.dir/cmake_clean_target.cmake /usr/bin/gcc -fPIC "CMakeFiles/xyz.dir/xyz.o" -o xyz -rdynamic make[2]: Leaving directory `/home/lowman/tmp/foo/build' /usr/local/cmake/bin/cmake -E cmake_progress_report /home/lowman/tmp/foo/build/CMakeFiles 1 [100%] Built target xyz make[1]: Leaving directory `/home/lowman/tmp/foo/build' /usr/local/cmake/bin/cmake -E cmake_progress_start /home/lowman/tmp/foo/build/CMakeFiles 0 -- Philip Lowman
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
