summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/VariableWatchTest.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeTests/VariableWatchTest.cmake.in')
-rw-r--r--Tests/CMakeTests/VariableWatchTest.cmake.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tests/CMakeTests/VariableWatchTest.cmake.in b/Tests/CMakeTests/VariableWatchTest.cmake.in
index bdb4f7e..0c084fd 100644
--- a/Tests/CMakeTests/VariableWatchTest.cmake.in
+++ b/Tests/CMakeTests/VariableWatchTest.cmake.in
@@ -1,15 +1,15 @@
-MESSAGE("Start")
+message("Start")
-VARIABLE_WATCH(TESTVAR MESSAGE)
-VARIABLE_WATCH(TESTVAR1)
+variable_watch(TESTVAR MESSAGE)
+variable_watch(TESTVAR1)
macro(testwatch var access file stack)
- MESSAGE("There was a ${access} access done on the variable: ${var} in file ${file}")
- MESSAGE("List file stack is: ${stack}")
+ message("There was a ${access} access done on the variable: ${var} in file ${file}")
+ message("List file stack is: ${stack}")
set(${var}_watched 1)
-endmacro(testwatch)
+endmacro()
-VARIABLE_WATCH(somevar testwatch)
+variable_watch(somevar testwatch)
set(TESTVAR1 "1")
set(TESTVAR "1")