[CMake] EXECUTE_PROCESS to strip
Tristan Carel
tristan.carel at gmail.com
Thu Dec 14 18:52:04 EST 2006
On 12/14/06, klaas.holwerda <kholwerd at xs4all.nl> wrote:
> Hi I did read this, in release notes:
>
> * Allow EXECUTE_PROCESS to strip trailing white space
>
> Is this automatically or how does one do it?
>
> Thanks,
>
> Klaas
Here is the synopsis available in the official 2.4.5 documentation:
EXECUTE_PROCESS(COMMAND <cmd1> [args1...]]
[COMMAND <cmd2> [args2...] [...]]
[WORKING_DIRECTORY <directory>]
[TIMEOUT <seconds>]
[RESULT_VARIABLE <variable>]
[OUTPUT_VARIABLE <variable>]
[ERROR_VARIABLE <variable>]
[INPUT_FILE <file>]
[OUTPUT_FILE <file>]
[ERROR_FILE <file>]
[OUTPUT_QUIET]
[ERROR_QUIET]
[OUTPUT_STRIP_TRAILING_WHITESPACE]
[ERROR_STRIP_TRAILING_WHITESPACE])
Look at the 2 last options.
--
Tristan Carel
Music with dinner is an insult both to the cook and the violinist.
More information about the CMake
mailing list