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> &lt;<a href="mailto:bigler@cs.utah.edu">
bigler@cs.utah.edu</a>&gt; 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>&quot;\/\*&quot; or &quot;\\/\\*&quot;
<br><br>I&#39;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>&gt; Hi everyone,<br>&gt;<br>&gt; I have really simple problem but I can&#39;t find the solution :
<br>&gt;<br>&gt; ADD_CUSTOM_COMMAND( OUTPUT ${SPEC_FILE}<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COMMAND ${CMAKE_COMMAND} -E echo &quot;/*&quot; &gt; echo.txt<br>&gt; )<br>&gt;<br>&gt; With this command, cmake generate, using VERBATIM or not, this text :
<br>&gt;<br>&gt; /bin /boot /cdrom /dev /etc /home /initrd /initrd.img /initrd.img.old /lib<br>&gt; /local_home /lost+found /media /mnt /opt /proc /root /sbin /srv /sys /tmp<br>&gt; /usr /var /vmlinuz /vmlinuz.old<br>&gt;
<br>&gt; What can I do to just echo&nbsp;&nbsp;&quot;/*&quot; ?<br>&gt;<br>&gt; In command line, I can just type<br>&gt; cmake -E &quot;/*&quot;<br>&gt; instead of<br>&gt; cmake -E /*<br>&gt; but within a cmake file I don&#39;t know how to do it.
<br>&gt;<br>&gt; Thanks for any help<br>&gt;<br>&gt; Regards,<br>&gt; --<br>&gt; Mehdi Rabah<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; CMake mailing list<br>&gt; <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div>
<br>