[CMake] Help with Execute_Process

Carminati Federico Federico.Carminati at cern.ch
Tue Jul 15 07:10:08 EDT 2008


Hello,
   I would like to execute the following command

Execute_Process(
   COMMAND svn info | grep \"Last Changed Rev:\" |  cut -d: -f2
   OUTPUT_VARIABLE _res)

But concatenation with pipes does not work. Any hint? Best regards,

Federico Carminati
CERN-PH
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 79480
Mobile: +41 76 487 4843



More information about the CMake mailing list