Re: [CMake] Help with Execute_Process

2008-07-16 Thread Carminati Federico
Hello, thanks for your answer. I did not realise that the output of Execute_Process could be several lines long and that this output could be parsed with String. It is working fine now. BEst, Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 79480 Mo

Re: [CMake] Help with Execute_Process

2008-07-15 Thread Bill Hoffman
Alan W. Irwin wrote: On 2008-07-15 13:10+0200 Carminati Federico wrote: 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 regard

Re: [CMake] Help with Execute_Process

2008-07-15 Thread Alan W. Irwin
On 2008-07-15 13:10+0200 Carminati Federico wrote: 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, I haven't tried t

[CMake] Help with Execute_Process

2008-07-15 Thread Carminati Federico
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