<div dir="ltr">Hello,<br><br>Actually, use CMAKE_CUSTOM_COMMAND instead. This way you will have full dependency checking.<br><br>Andy<br><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 10:41 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">EXECUTE_PROCESS with "cmake -E copy"<br>(or copy_directory)<div><div>
</div><div class="Wj3C7c"><div><br></div><div><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 1:39 PM, <span dir="ltr"><<a href="mailto:eblotml@free.fr" target="_blank">eblotml@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I need to duplicate (Python) files from a source directory into a destination (build) directory, then build a CRAMFS volume image from the destination dir.<br>
<br>
How can I achieve this kind of task with CMake 2.6, in other words what is the CMake command to use for copying files from a source directory to a "binary" directory ?<br>
<br>
I don't think I can use the INSTALL command to do this, as I need a post-processing step (CRAMFS archiving).<br>
The FILE command does not seem to support file duplication.<br>
<br>
Thanks,<br>
Manu<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div></div></div></div>
<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" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://legoandy.com">http://legoandy.com</a> -o- <a href="http://capitalmtb.org">http://capitalmtb.org</a><br>
<br>Support my biking outreach, such as 150 mile bike ride to fight MS:<br><a href="http://legoandy.com/Words/bike-rides-2008/">http://legoandy.com/Words/bike-rides-2008/</a><br>
</div>