MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014785 | CMake | CMake | public | 2014-03-04 16:36 | 2014-10-06 10:32 |
| Reporter | toeb | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | x86 | OS | Windows | OS Version | 7 |
| Product Version | CMake 2.8.12.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014785: Unexpected behaviour in list when brackets are involved | ||||
| Description | if semicoli inside are inside brackets [] they are not treated as list delimiters in a foreach loop | ||||
| Steps To Reproduce | set(lst"1;2;[;3;4;5;];6;7") foreach(element ${lst}) message("${element}") endforeach() # prints # 1 # 2 # [;3;4;5;] # 6 # 7 # what i expected: # 1 # 2 # [ # 3 # 4 # 5 # ] # 6 # 7 | ||||
| Additional Information | maybe it has somethingto do with variable evaluation inside foreach? (just a guess) | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-03-04 16:36 | toeb | New Issue | |||
| 2014-03-04 16:39 | Brad King | Note Added: 0035250 | |||
| 2014-03-06 10:37 | Brad King | Status | new => resolved | ||
| 2014-03-06 10:37 | Brad King | Resolution | open => no change required | ||
| 2014-10-06 10:32 | Robert Maynard | Note Added: 0036933 | |||
| 2014-10-06 10:32 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||