The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15561 ====================================================================== Reported By: Wojciech Mamrak Assigned To: ====================================================================== Project: CMake Issue ID: 15561 Category: CMake Reproducibility: always Severity: minor Priority: high Status: new ====================================================================== Date Submitted: 2015-05-08 09:00 EDT Last Modified: 2015-05-08 09:00 EDT ====================================================================== Summary: file COPY FILES_MATCHING PATTERN copies folders' structure Description: This command:
file(COPY "src/" DESTINATION "dst" FILES_MATCHING PATTERN "*.bat") copies not only all *.bat files from src to dst, but also folders' structure. For example, if src is: src: - foo.bat - bar.bat - images [folder] - foo.png - bar [folder] then after calling the command, dst is: dst: - foo.bat - bar.bat - images [folder] - bar [folder] ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-05-08 09:00 Wojciech MamrakNew Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
