| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014789 | CMake | CMake | public | 2014-03-06 07:49 | 2016-06-10 14:31 |
|
| Reporter | ParokshaX | |
| Assigned To | Kitware Robot | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | |
| Platform | Intel x86_64 | OS | SolydX x64 | OS Version | Testing |
| Product Version | CMake 2.8.12.1 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0014789: 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.
|
| Tags | CMake, path |
|
| Attached Files | |
|