Sign in
cmake
/
cmake
/
76f08a107b344daff524974868ab30353bd9b255
/
.
/
Tests
/
RunCMake
/
MaxRecursionDepth
/
variable_watch.cmake
blob: b3c7b8dfed3a683a4ec604fca3527cab96648348 [
file
] [
log
] [
blame
]
function
(
update_x
)
message
(
"${x}"
)
math
(
EXPR y
"${x} + 2"
)
variable_watch
(
x update_x
)
set
(
x
"${y}"
)
endfunction
()
variable_watch
(
x update_x
)
set
(
x
4
)