[CMake] Copy / filter files

Andy Lego andy at legoandy.com
Tue Aug 12 13:42:57 EDT 2008


Hello,

Actually, use CMAKE_CUSTOM_COMMAND instead. This way you will have full
dependency checking.

Andy

On Tue, Aug 12, 2008 at 10:41 AM, David Cole <david.cole at kitware.com> wrote:

> 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
>>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
http://legoandy.com -o- http://capitalmtb.org

Support my biking outreach, such as 150 mile bike ride to fight MS:
http://legoandy.com/Words/bike-rides-2008/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080812/20881f2d/attachment.htm>


More information about the CMake mailing list