[CMake] Copy / filter files

David Cole david.cole at kitware.com
Tue Aug 12 13:41:47 EDT 2008


EXECUTE_PROCESS with "cmake -E copy"
(or copy_directory)

On Tue, Aug 12, 2008 at 1:39 PM, <eblotml at free.fr> wrote:

> Hi,
>
> 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.
>
> 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 ?
>
> I don't think I can use the INSTALL command to do this, as I need a
> post-processing step (CRAMFS archiving).
> The FILE command does not seem to support file duplication.
>
> Thanks,
> Manu
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080812/135b621c/attachment.htm>


More information about the CMake mailing list