[CMake] Install files quietly

2011-07-29 Thread Mathias Tausig
Hello! During the installation process, I am copying a quite large directory using INSTALL(DIRECTORY foo DESTINATION bar) When I run make install, every single file contained in foo is displayed in the shell. Is there some way to prevent a install command from printing to the command line?

[CMake] Setting the installation order of a script

2011-07-14 Thread Mathias Tausig
Hy! My CMakeLists.txt in the top directory looks like this: ADD_SUBDIRECTORY(dir1) ADD_SUBDIRECTORY(dir2) INSTALL (SCRIPT setpermissions.cmake) setpermissions.cmake changes some file-owner permissions of the stuff that has been installed from dir1 and dir2. The problem is: if I execute make