MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015444 | CMake | CMake | public | 2015-03-13 13:40 | 2016-06-10 14:31 |
| Reporter | alean79 | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | clion IDE | OS | Linux | OS Version | Ubuntu 14.10 |
| Product Version | CMake 3.1.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015444: include_directories is case insensitive usually, but is case sensitive in files inside subfolders | ||||
| Description | I have a project that was developed in Windows environment, so the #include sentences was developed in case insensitive way (there are a LOT of differences between the name of the .hpp included, and the real name of the .hpp file). I imported that project in a Linux environment, and configured cmake with the following clause: include_directories( SYSTEM ${PROJECT_SOURCE_DIR}/inc) Inside the "inc" folder there are .hpp files, but there are subfolders with aditional .hpp files. In my code, the .hpp files that are in the "inc" folder are recognized correctly, beside the case problems. But the files in the subfolders are NOT recognized if there are case differences. Example: ${PROJECT_SOURCE_DIR} | |-- inc | |-- vpp => subfolder | | | |-- vpp.hpp => header file | |-- flags.hpp => header file If I include the second header file with the following sentence, the file is recognized correctly: #include <flags.hpp> But, if I include the first header file with the following sentence, the file is NOT found: #include <vpp/vpp.hpp> | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5402/CMakeLists.txt | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-03-13 13:40 | alean79 | New Issue | |||
| 2015-03-13 13:40 | alean79 | File Added: CMakeLists.txt | |||
| 2015-03-13 13:45 | Brad King | Note Added: 0038207 | |||
| 2015-03-13 14:10 | alean79 | Note Added: 0038208 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042729 | |||
| 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 | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||