[CMake] Howto disable printing the link command

Pere Mato Vila Pere.Mato at cern.ch
Fri Sep 9 06:23:57 EDT 2011


The make option -s switches off printing the commands, but this seems not to be working for the CMake generated link command for shared libraries. Does anybody know how to avoid the printing of the link command? 
The reason I need this is because one of my large libraries produces a command line that is 120k bytes long and this completely screws up the performance of ctest_build(). See http://public.kitware.com/Bug/view.php?id=12381

-------------------------------------------------------------
Pere Mato  CERN, PH Department, CH 1211 Geneva 23, Switzerland
          e-mail: pere.mato at cern.ch      tel: +41 22 76 78696
          fax:  +41 22 76 68792            gsm: +41 76 48 70855




More information about the CMake mailing list