View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015658 | CMake | CMake | public | 2015-07-21 11:19 | 2016-01-04 11:51 | ||||
Reporter | Ben Boeckel | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | suspended | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015658: Allow generator expressions in add_custom_command (and add_custom_target) | ||||||||
Description | Now that LOCATION is disallowed, using a target path as an argument to a custom command is not possible without warnings (or making CMP0026 OLD). At least OUTPUT, COMMAND, MAIN_DEPENDENCY, DEPENDS, WORKING_DIRECTORY, and SOURCES (for a_c_t) should expand generator expressions. Some may already do so via properties being genex-expanded already (just WORKING_DIRECTORY IIRC). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0039160) Brad King (manager) 2015-07-21 11:25 |
The COMMAND and DEPENDS already support generator expressions and have since the 2.8 era. The TARGET_FILE genex and its variants are very useful with these and were created specifically for the purpose of avoiding use of the LOCATION property. |
(0039161) Ben Boeckel (developer) 2015-07-21 12:54 |
Hmm. I will have to investigate why naked genex strings get dumped out into Ninja then. |
(0039168) Brad King (manager) 2015-07-23 14:46 |
See 0013840. |
(0040097) Robert Maynard (manager) 2016-01-04 11:51 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-21 11:19 | Ben Boeckel | New Issue | |
2015-07-21 11:25 | Brad King | Note Added: 0039160 | |
2015-07-21 12:54 | Ben Boeckel | Note Added: 0039161 | |
2015-07-23 14:46 | Brad King | Note Added: 0039168 | |
2015-07-23 14:46 | Brad King | Status | new => resolved |
2015-07-23 14:46 | Brad King | Resolution | open => suspended |
2015-07-23 14:46 | Brad King | Target Version | CMake 3.4 => |
2016-01-04 11:51 | Robert Maynard | Note Added: 0040097 | |
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |