Sign in
cmake
/
cmake
/
39e5a4da220c1ddcd73d74d26ed55a7418add215
/
.
/
Tests
/
RunCMake
/
variable_watch
/
RaiseInParentScope.cmake
blob: 207798e4b0efb32d3fba7341066efc0b2d71f6cc [
file
] [
log
] [
blame
]
function
(
watch variable access value
)
message
(
"${variable} ${access} ${value}"
)
endfunction
()
# --------------
variable_watch
(
var
watch
)
set
(
var
"a"
)
function
(
f
)
set
(
var
"b"
PARENT_SCOPE
)
endfunction
(
f
)
f
()