View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015941 | CMake | CMake | public | 2016-01-29 05:05 | 2016-06-10 14:31 | ||||
Reporter | Jan Hegewald | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Mac OS / Linux | OS | Mac OS / SUSE Linux E Server | OS Version | 10.11.3 / 11 | ||||
Product Version | CMake 3.4.3 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015941: file glob case sensitivity depends on platform | ||||||||
Description | [The OS did not fit in the above field, so here is the full version: Mac OS 10.11.3 / SUSE Linux Enterprise Server 11 (x86_64)] Cmakes file glob returns files regardless of the case used in the glob expression on Mac OS (even on a case sensitive filesystem). On Linux glob returns the files which match the case being used in the expression, as would be returned by the ls terminal command. | ||||||||
Steps To Reproduce | Have two files where the suffix differs in case, use cmake file glob with on of the cases used in a suffix. Example: # directory src/ foo.f90 bar.F90 # ls on Mac ls src/*.F* bar.F90 # cmake on Mac file(GLOB all_sources ${src}/*.F* message(STATUS "all_sources: ${all_sources}") -- all_sources: /.../src/bar.F90;/.../src/foo.f90 # ls on Linux ls src/*.F* bar.F90 # cmake on Linus file(GLOB all_sources ${src}/*.F* message(STATUS "all_sources: ${all_sources}") -- all_sources: /.../src/bar.F90 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeLists.txt [^] (294 bytes) 2016-01-29 05:05 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0040355) Brad King (manager) 2016-01-29 08:42 |
Yes, the implementation would need to be taught to read filesystem properties on the volume where the globbing takes place to see whether it is case sensitive or not. |
(0042926) 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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-29 05:05 | Jan Hegewald | New Issue | |
2016-01-29 05:05 | Jan Hegewald | File Added: CMakeLists.txt | |
2016-01-29 08:42 | Brad King | Note Added: 0040355 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042926 | |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |