[CMake] odd cmake/DOS bug/issue with eol

Biddiscombe, John A. biddisco at cscs.ch
Fri Aug 5 08:33:32 EDT 2011


David

>Yes, it's probably an intermediate (make, shell?) "interpreting" the output along the way.
does that mean it's a bug?

>You can try to add "VERBATIM" to the custom command call and see if that helps.
Nope. Same result. I think verbatim just leaves the args untouched rather than the output.

>Or, you could write it as a batch/shell/cmake/other script and have the custom command invoke the script, capture the output into a variable and write the file directly, rather than using the shell redirection operator.
Can you point me to an example of this that I might copy?

>Or... maybe H5detect could take a file name as an arg and write the file directly itself rather than pushing it to stdout?
this will be harder to get back into the official release as it will probably needs signing off on etc.

ta

JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110805/5780f87e/attachment-0001.htm>


More information about the CMake mailing list