MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015093 | CMake | CMake | public | 2014-08-18 02:05 | 2016-06-10 14:31 |
Reporter | abma | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.12.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015093: PARENT_SCOPE empties variables when recursived used | ||||
Description | when a PARENT_SCOPE'd variable is set to a value of a PARENT_SCOPE'd variable, both are empty: set(a "a" PARENT_SCOPE) set(b "${a}" PARENT_SCOPE) expected result: a = "a" b = "a" but in real both are empty! | ||||
Steps To Reproduce | |||||
Additional Information | can be workarounded: macro(MakeGlobalVar varname) set(${varname} ${ARGN} PARENT_SCOPE) set(${varname} ${ARGN}) endmacro() MakeGlobalVar(a "a") MakeGlobalVar(b "${a}") | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-08-18 02:05 | abma | New Issue | |||
2014-08-18 04:17 | Marcel Loose | Note Added: 0036627 | |||
2014-08-18 05:16 | abma | Note Added: 0036628 | |||
2014-08-18 09:35 | Ben Boeckel | Note Added: 0036629 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042609 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|