View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014789CMakeCMakepublic2014-03-06 07:492016-06-10 14:31
ReporterParokshaX 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformIntel x86_64OSSolydX x64OS VersionTesting
Product VersionCMake 2.8.12.1 
Target VersionFixed in Version 
Summary0014789: FILE(GLOB variable RELATIVE path globbing_expression) fails when the underlying path contains special character
DescriptionFILE(GLOB variable RELATIVE path globbing_expression) fails to generate the list of files when the path contains "[some_text]".
Steps To ReproduceList files in a directory whose path contains '[some_text]'

--> FILE(GLOB lstFiles RELATIVE ${dirPath} ${dirPath}/*)
or
--> FILE(GLOB lstFiles RELATIVE "${dirPath} "${dirPath}/*")
Additional InformationEscaping '[' and ']' in CMAKE returned PATHs should prevent this, I haven't tested it.
TagsCMake, path
Attached Files

 Relationships

  Notes
(0042500)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-03-06 07:49 ParokshaX New Issue
2014-03-06 07:50 ParokshaX Tag Attached: CMake
2014-03-06 07:50 ParokshaX Tag Attached: path
2016-06-10 14:29 Kitware Robot Note Added: 0042500
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team