summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/VariableWatchTest.cmake.in
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
commitef8aa19c33e83ff019595fd7f8fdc29c35c336a3 (patch)
tree6501b44707b5c6a88fa5f817adee1a3ffcb0012d /Tests/CMakeTests/VariableWatchTest.cmake.in
parent035c7fabc3b82cbc9a346c11abe2e9462b4c0379 (diff)
downloadcmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.gz
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.tar.bz2
cmake-ef8aa19c33e83ff019595fd7f8fdc29c35c336a3.zip
Imported Upstream version 2.8.10.2upstream/2.8.10.2
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 bdb4f7ec4..0c084fde8 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")