summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/variable_watch/ModifiedAccess.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-03 13:23:25 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-03 14:20:31 (GMT)
commitc63d30048bcf5bd6efa1e038b36c5efd29e34749 (patch)
tree5eea1051d4090bdbe2d42124de0280d6158a33e4 /Tests/RunCMake/variable_watch/ModifiedAccess.cmake
parent3d5bb381be16f67e4781c395bda2be12a5d00168 (diff)
downloadCMake-c63d30048bcf5bd6efa1e038b36c5efd29e34749.zip
CMake-c63d30048bcf5bd6efa1e038b36c5efd29e34749.tar.gz
CMake-c63d30048bcf5bd6efa1e038b36c5efd29e34749.tar.bz2
variable_watch: Add test for MODIFIED_ACCESS report
Add a RunCMake.variable_watch watch test to cover the basic use case.
Diffstat (limited to 'Tests/RunCMake/variable_watch/ModifiedAccess.cmake')
-rw-r--r--Tests/RunCMake/variable_watch/ModifiedAccess.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/variable_watch/ModifiedAccess.cmake b/Tests/RunCMake/variable_watch/ModifiedAccess.cmake
new file mode 100644
index 0000000..87943b3
--- /dev/null
+++ b/Tests/RunCMake/variable_watch/ModifiedAccess.cmake
@@ -0,0 +1,3 @@
+set(b "a")
+variable_watch(b)
+set(b "b")