MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0015366 | CMake | CMake | public | 2015-01-22 19:09 | 2016-01-04 11:51 | ||||||||||
Reporter | Daniel v. Gerpen | ||||||||||||||
Assigned To | Brad King | ||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | Linux | OS | Ubuntu | OS Version | 14.04 | ||||||||||
Product Version | CMake 3.1 | ||||||||||||||
Target Version | CMake 3.1.2 | Fixed in Version | CMake 3.1.2 | ||||||||||||
Summary | 0015366: set_source_files_properties OBJECT_DEPENDS broken after normalization | ||||||||||||||
Description | With cmake 2.8.9 (ubuntu repos) and cmake 3.0.2 (build locally) the attached project can be build. [ 50%] Generating ../bla/stuff.h Scanning dependencies of target app [100%] Building CXX object blubb/CMakeFiles/app.dir/__/bla/a.cpp.o Linking CXX executable app [100%] Built target app With 3.1 and 3.1.1 it fails because a custom command is not run: Scanning dependencies of target app make[2]: *** No rule to make target `blubb/../bla/stuff.h', needed by `blubb/CMakeFiles/app.dir/__/bla/a.cpp.o'. Stop. make[1]: *** [blubb/CMakeFiles/app.dir/all] Error 2 make: *** [all] Error 2 | ||||||||||||||
Steps To Reproduce | tar zxf object_depends.tar.gz cd object_depends cmake . make | ||||||||||||||
Additional Information | https://github.com/Kitware/CMake/commit/c4af46 [^] is the first commit with this behavior, it introduced normalization of OUTPUT and DEPENDS in add_custom_command. From what I can see OBJECT_DEPENDS in set_source_file_properties is not normalized. | ||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | object_depends.tar.gz (712) 2015-01-22 19:09 https://public.kitware.com/Bug/file/5355/object_depends.tar.gz | ||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2015-01-22 19:09 | Daniel v. Gerpen | New Issue | |||||||||||||
2015-01-22 19:09 | Daniel v. Gerpen | File Added: object_depends.tar.gz | |||||||||||||
2015-01-23 14:12 | Brad King | Note Added: 0037791 | |||||||||||||
2015-01-23 14:14 | Brad King | Note Added: 0037792 | |||||||||||||
2015-01-29 09:24 | Brad King | Note Added: 0037857 | |||||||||||||
2015-01-29 09:24 | Brad King | Assigned To | => Brad King | ||||||||||||
2015-01-29 09:24 | Brad King | Status | new => resolved | ||||||||||||
2015-01-29 09:24 | Brad King | Resolution | open => fixed | ||||||||||||
2015-01-29 09:24 | Brad King | Fixed in Version | => CMake 3.2 | ||||||||||||
2015-01-29 09:24 | Brad King | Target Version | => CMake 3.2 | ||||||||||||
2015-02-05 09:24 | Brad King | Note Added: 0037922 | |||||||||||||
2015-02-05 09:24 | Brad King | Fixed in Version | CMake 3.2 => CMake 3.1.2 | ||||||||||||
2015-02-05 09:24 | Brad King | Target Version | CMake 3.2 => CMake 3.1.2 | ||||||||||||
2015-03-23 13:01 | Brad King | Relationship added | related to 0015467 | ||||||||||||
2015-07-09 10:30 | Brad King | Relationship added | related to 0015642 | ||||||||||||
2016-01-04 11:51 | Robert Maynard | Note Added: 0040090 | |||||||||||||
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|