MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0012619 | CMake | CMake | public | 2011-12-12 02:12 | 2016-06-10 14:31 | |||||
| Reporter | chizhong jin | |||||||||
| Assigned To | Alex Neundorf | |||||||||
| Priority | normal | Severity | major | Reproducibility | always | |||||
| Status | closed | Resolution | moved | |||||||
| Platform | Linux | OS | Linux | OS Version | 3.0 | |||||
| Product Version | CMake 2.8.5 | |||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0012619: cmDependsC class Scan ignore same file name | |||||||||
| Description | cmDependsC use cache for speed up dependences scan. But produce a bug. When you have two or more file with same name in different directories. cmDependsC will miss some of file. | |||||||||
| Steps To Reproduce | create src tree like this. xxx/ t.h a.h src/ a.h a.cpp a.cpp include ../t.h && a.h t.h include a.h create a CMakeLists.txt "add_executable(a a.cpp)" then in xxx do $ mkdir build && cd build && cmake ../src && make $ cat CMakeFiles/a.dir/depend.internal we get result like: CMakeFiles/a.dir/a.cpp.o /home/jcz/Desktop/src/test/cmake/samefilename/src/../t.h /home/jcz/Desktop/src/test/cmake/samefilename/src/a.cpp /home/jcz/Desktop/src/test/cmake/samefilename/src/a.h no ../a.h | |||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | https://public.kitware.com/Bug/file/4141/samefilename.tar.gz | |||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2011-12-12 02:12 | chizhong jin | New Issue | ||||||||
| 2011-12-12 02:24 | chizhong jin | File Added: samefilename.tar.gz | ||||||||
| 2011-12-12 09:32 | Brad King | Assigned To | => Alex Neundorf | |||||||
| 2011-12-12 09:32 | Brad King | Status | new => assigned | |||||||
| 2011-12-18 09:25 | Alex Neundorf | Note Added: 0028000 | ||||||||
| 2011-12-18 09:26 | Alex Neundorf | Note Added: 0028001 | ||||||||
| 2011-12-23 04:13 | chizhong jin | Note Added: 0028059 | ||||||||
| 2012-08-13 14:30 | Alex Neundorf | Target Version | => CMake 2.8.10 | |||||||
| 2012-08-13 14:46 | Alex Neundorf | Relationship added | related to 0010048 | |||||||
| 2012-10-18 14:06 | Alex Neundorf | Target Version | CMake 2.8.10 => | |||||||
| 2015-07-14 05:34 | Matteo Settenvini | Note Added: 0039135 | ||||||||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041943 | ||||||||
| 2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | |||||||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | |||||||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||