[CMake] EXECUTE_PROCESS and writing output to a file

Filipe Sousa filipe at ipb.pt
Fri Jun 16 06:21:09 EDT 2006


On Friday 16 June 2006 10:49, Sylvain Benner wrote:
> Hi,
>
> When I specify an output variable in the EXECUTE_PROCESS arguments, there
> is no output in the console. Is there a way to have both the ouput written
> in a variable and displayed on the screen?

EXECUTE_PROCESS(.... OUTPUT_VARIABLE output ...)
MESSAGE(STATUS ${output})


> Thank you.
> Sylvain

-- 
Filipe Sousa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060616/19944fa5/attachment.pgp


More information about the CMake mailing list