Ok thank you very much.<br>I did try with one slash, but it happened that sometime cmake need two in my case.<br><br><div><span class="gmail_quote">On 7/2/07, <b class="gmail_sendername">James Bigler</b> <<a href="mailto:bigler@cs.utah.edu">
bigler@cs.utah.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try adding some escape slashes: \<br><br>"\/\*" or "\\/\\*"
<br><br>I'm not sure how many escape slashes you need, since CMake tends to<br>gobble them up (apply them) depending on what you are doing.<br><br>James<br><br>Mehdi Rabah wrote:<br>> Hi everyone,<br>><br>> I have really simple problem but I can't find the solution :
<br>><br>> ADD_CUSTOM_COMMAND( OUTPUT ${SPEC_FILE}<br>> COMMAND ${CMAKE_COMMAND} -E echo "/*" > echo.txt<br>> )<br>><br>> With this command, cmake generate, using VERBATIM or not, this text :
<br>><br>> /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /initrd.img.old /lib<br>> /local_home /lost+found /media /mnt /opt /proc /root /sbin /srv /sys /tmp<br>> /usr /var /vmlinuz /vmlinuz.old<br>>
<br>> What can I do to just echo "/*" ?<br>><br>> In command line, I can just type<br>> cmake -E "/*"<br>> instead of<br>> cmake -E /*<br>> but within a cmake file I don't know how to do it.
<br>><br>> Thanks for any help<br>><br>> Regards,<br>> --<br>> Mehdi Rabah<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> CMake mailing list<br>> <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>> <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div>
<br>