Re: [CMake] Problem piping 'execute_process' output

2011-04-29 Thread Brad King
On 04/29/2011 05:46 AM, J.S. van Bethlehem wrote: > Am I trying do something that is not possible (I think not, given that > the manual explicitly states that OUTPUT_* and ERROR_* may be the same > and that results will be merged) It is not possible to do with *_FILE right now simply because sup

Re: [CMake] Problem piping 'execute_process' output

2011-04-29 Thread Tyler
On Fri, Apr 29, 2011 at 2:46 AM, J.S. van Bethlehem wrote: > execute_process(COMMAND ./source OUTPUT_FILE source.out ERROR_FILE > source.out) > > I would expect to see both lines in 'source.out'. But in reality only the > second line, that went to the error stream is in the outputfile. > Interesti

[CMake] Problem piping 'execute_process' output

2011-04-29 Thread J.S. van Bethlehem
Hello, Since I'm only just starting to learn how to use CMake I'm not sure whether I found a bug, or whether I'm misunderstanding something. So I figured I could just as well see what others have to say about it. I managed to create a minimalistic example using CMake 2.8.4: Suppose I have the