MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014430 | CMake | CMake | public | 2013-09-21 07:28 | 2016-06-10 14:31 |
| Reporter | rgstr | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Unix Makefiles | OS | Linux x86_64 | OS Version | Fedora 19 |
| Product Version | CMake 2.8.11 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014430: LINK_DEPENDS dependency generated by custom command fails to build | ||||
| Description | I'm using CMake to build an embedded project that requires a generated linker script. The linker script is supposed to be generated via add_custom_command() and set_property(TARGET … PROPERTY LINK_DEPENDS …). However CMake apparently does not create a Makefile target for the linker script and thus a subsequent call to make fails stating "No rule to make target …". | ||||
| Steps To Reproduce | 1.) Download and extract attached minimal non-working example 2.) $ cmake . && make 3.) "make[2]: *** No rule to make target `linker_symbols.x', needed by `main'. Stop." | ||||
| Additional Information | When adding the linker script dependency to one of the source files being built via add_property(SOURCE … PROPERTY OBJECT_DEPENDS …) everything works fine. Just uncomment the corresponding section in my CMakeLists.txt an rerun make. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4884/* | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-09-21 07:28 | rgstr | New Issue | |||
| 2013-09-21 07:28 | rgstr | File Added: cmake_mnwe.tar.bz2 | |||
| 2013-09-22 20:38 | Brad King | Note Added: 0033862 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042372 | |||
| 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 | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||