summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-15 11:34:35 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-15 11:34:35 -0400
commit02a114dfe8304e6fa90b9c6565349eb7e0fb1168 (patch)
treea2420a27a7c010d76daa16163e4c1959784e788e /Source/cmMakefile.h
parenta0b0d23f0cc3f596135ace5d675bbb09911b7f02 (diff)
downloadcmake-02a114dfe8304e6fa90b9c6565349eb7e0fb1168.tar.gz
Add method to allow variables to be marked as used
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 89979d6a39..6b0bfa26a3 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -61,6 +61,8 @@ public:
unsigned int GetCacheMajorVersion();
unsigned int GetCacheMinorVersion();
+ /* Mark a variable as used */
+ void MarkVariableAsUsed(const char* var);
/* return true if a variable has been initialized */
bool VariableInitialized(const char* ) const;
/* return true if a variable has been used */