| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011845 | CMake | CMake | public | 2011-02-11 10:32 | 2012-11-05 14:32 | ||||
| Reporter | Matt Darland | ||||||||
| Assigned To | David Cole | ||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||
| Status | closed | Resolution | duplicate | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | CMake 2.8.9 | |||||||
| Summary | 0011845: Add an EVAL command to evaluate a string as a CMake script | ||||||||
| Description | Add an EVAL command that evaluates the string passed in as a CMake script, within the same environment closure as the caller. Similar to the INSTALL(SCRIPT), but run at CMake evaluation instead of install time. Motivation: I'd like to write a macro similar to: #-- LIST_APPLY(src fn) #-- Calls command in ${fn} against each item in src MACRO(LIST_APPLY src fn) FOREACH(_i ${src}) EVAL("${fn}(${_i}") ENDFOREACH() ENDMACRO() So I'm not constantly writing boilerplate foreach code | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0029595) David Cole (manager) 2012-06-01 11:21 |
Please see notes in the duplicate "bug" -- we won't be adding this feature to the CMake language. |
|
(0031439) David Cole (manager) 2012-11-05 14:32 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-02-11 10:32 | Matt Darland | New Issue | |
| 2012-06-01 11:20 | David Cole | Assigned To | => David Cole |
| 2012-06-01 11:20 | David Cole | Status | new => assigned |
| 2012-06-01 11:21 | David Cole | Note Added: 0029595 | |
| 2012-06-01 11:21 | David Cole | Relationship added | duplicate of 0004034 |
| 2012-06-01 11:21 | David Cole | Status | assigned => resolved |
| 2012-06-01 11:21 | David Cole | Fixed in Version | => CMake 2.8.9 |
| 2012-06-01 11:21 | David Cole | Resolution | open => duplicate |
| 2012-11-05 14:32 | David Cole | Note Added: 0031439 | |
| 2012-11-05 14:32 | David Cole | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |