diff options
author | Brad King <brad.king@kitware.com> | 2007-05-17 21:40:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-17 21:40:59 (GMT) |
commit | 9a5b4eba97628c53f051d653cdc8a301f5f32312 (patch) | |
tree | 3fbf5ecc5ac2f0467e0b7bad1a43f4fe488e0540 /Source/cmMakefile.h | |
parent | b47807fc15a35c1f9f53842b17ec283c2d3a7778 (diff) | |
download | CMake-9a5b4eba97628c53f051d653cdc8a301f5f32312.zip CMake-9a5b4eba97628c53f051d653cdc8a301f5f32312.tar.gz CMake-9a5b4eba97628c53f051d653cdc8a301f5f32312.tar.bz2 |
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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 1ea866c..8f4d0ee 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -492,9 +492,9 @@ public: * cache is then queried. */ const char* GetDefinition(const char*) const; - const char* GetDefinitionNoWatch(const char*) const; const char* GetSafeDefinition(const char*) const; const char* GetRequiredDefinition(const char* name) const; + bool IsDefinitionSet(const char*) const; /** * Get the list of all variables in the current space. If argument * cacheonly is specified and is greater than 0, then only cache |