summaryrefslogtreecommitdiff
path: root/Source/cmVariableWatch.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-17 17:40:59 -0400
committerBrad King <brad.king@kitware.com>2007-05-17 17:40:59 -0400
commit9a5b4eba97628c53f051d653cdc8a301f5f32312 (patch)
tree3fbf5ecc5ac2f0467e0b7bad1a43f4fe488e0540 /Source/cmVariableWatch.h
parentb47807fc15a35c1f9f53842b17ec283c2d3a7778 (diff)
downloadcmake-9a5b4eba97628c53f051d653cdc8a301f5f32312.tar.gz
BUG: All variable accesses should produce watch callbacks, including IF(DEFINED <var>) ones. Instead we define a new access type for IF(DEFINED) so that the error does not show up for backward compatibility variables.
Diffstat (limited to 'Source/cmVariableWatch.h')
-rw-r--r--Source/cmVariableWatch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVariableWatch.h b/Source/cmVariableWatch.h
index 7f97c282c6..fc24d179c0 100644
--- a/Source/cmVariableWatch.h
+++ b/Source/cmVariableWatch.h
@@ -55,6 +55,7 @@ public:
{
VARIABLE_READ_ACCESS = 0,
UNKNOWN_VARIABLE_READ_ACCESS,
+ UNKNOWN_VARIABLE_DEFINED_ACCESS,
ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS,
VARIABLE_MODIFIED_ACCESS,
VARIABLE_REMOVED_ACCESS,