MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008815 | CMake | Documentation | public | 2009-03-30 01:46 | 2009-03-30 08:28 |
| Reporter | James Bigler | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0008815: add_custom_command needs documention to state scope of command | ||||
| Description | According to this thread, the OUTPUTS of add_custom_command can only be referenced as a build rule in the directory they were declared in. http://www.cmake.org/pipermail/cmake/2009-February/027323.html [^] This prevents calling add_custom_command in a subdirectory, using the OUTPUTS in a target in the parent directory, and having the add_custom_command being run as a dependency for that target. This is somewhat unintuitive and should be documented, since add_custom_command could be seen as behaving as a target does and have global scope. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-03-30 01:46 | James Bigler | New Issue | |||
| 2009-03-30 08:01 | Brad King | Status | new => assigned | ||
| 2009-03-30 08:01 | Brad King | Assigned To | => Brad King | ||
| 2009-03-30 08:28 | Brad King | Note Added: 0015847 | |||
| 2009-03-30 08:28 | Brad King | Status | assigned => closed | ||
| 2009-03-30 08:28 | Brad King | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||