View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0015847) Brad King (manager) 2009-03-30 08:28 |
ENH: Document scope of add_custom_command outputs /cvsroot/CMake/CMake/Source/cmAddCustomCommandCommand.h,v <-- Source/cmAddCustomCommandCommand.h new revision: 1.36; previous revision: 1.35 /cvsroot/CMake/CMake/Source/cmAddCustomTargetCommand.h,v <-- Source/cmAddCustomTargetCommand.h new revision: 1.24; previous revision: 1.23 |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |