MantisBT - CMake | |||||
| View Issue Details | |||||
| 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 | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5621/CMakeLists.txt | ||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||