On 7/2/07, Mehdi Rabah <[EMAIL PROTECTED]> wrote:
Hi everyone,
I have really simple problem but I can't find the solution :
ADD_CUSTOM_COMMAND( OUTPUT ${SPEC_FILE}
COMMAND ${CMAKE_COMMAND} -E echo "/*" > echo.txt
)
With this command, cmake generate, using VERBATIM or not, this text :
Ok thank you very much.
I did try with one slash, but it happened that sometime cmake need two in my
case.
On 7/2/07, James Bigler <[EMAIL PROTECTED]> wrote:
Try adding some escape slashes: \
"\/\*" or "\\/\\*"
I'm not sure how many escape slashes you need, since CMake tends to
gobble them up
Try adding some escape slashes: \
"\/\*" or "\\/\\*"
I'm not sure how many escape slashes you need, since CMake tends to
gobble them up (apply them) depending on what you are doing.
James
Mehdi Rabah wrote:
Hi everyone,
I have really simple problem but I can't find the solution :
ADD_CUST
Hi everyone,
I have really simple problem but I can't find the solution :
ADD_CUSTOM_COMMAND( OUTPUT ${SPEC_FILE}
COMMAND ${CMAKE_COMMAND} -E echo "/*" > echo.txt
)
With this command, cmake generate, using VERBATIM or not, this text :
/bin /boot /cdrom /dev /etc /home /initrd /initrd.im