On 12/14/06, klaas.holwerda <[EMAIL PROTECTED]> 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.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake