The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14789
======================================================================
Reported By: Ashok Kumar P
Assigned To:
======================================================================
Project: CMake
Issue ID: 14789
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-03-06 18:19 IST
Last Modified: 2014-03-06 18:19 IST
======================================================================
Summary: FILE(GLOB variable RELATIVE path
globbing_expression) fails when the underlying path contains special character
Description:
FILE(GLOB variable RELATIVE path globbing_expression) fails to generate the list
of files when the path contains "[some_text]".
Steps to Reproduce:
List files in a directory whose path contains '[some_text]'
--> FILE(GLOB lstFiles RELATIVE ${dirPath} ${dirPath}/*)
or
--> FILE(GLOB lstFiles RELATIVE "${dirPath} "${dirPath}/*")
Additional Information:
Escaping '[' and ']' in CMAKE returned PATHs should prevent this, I haven't
tested it.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-03-06 18:19 Ashok Kumar P New Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers