summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-21 18:42:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-21 18:42:54 (GMT)
commit4d311988b9be634980b9a188e226a0eb5a69359b (patch)
tree908b8e537a5fab310237897de89dd5713c3c155d /Source/cmCommand.h
parent187a58430b1f52e3e2a8a91ad26e2212183fe654 (diff)
downloadCMake-4d311988b9be634980b9a188e226a0eb5a69359b.zip
CMake-4d311988b9be634980b9a188e226a0eb5a69359b.tar.gz
CMake-4d311988b9be634980b9a188e226a0eb5a69359b.tar.bz2
ENH: Initial framework for deprecated commands
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 44e95d2..3d214a3 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -92,6 +92,14 @@ public:
}
/**
+ * This determines if the method is deprecated or not.
+ */
+ virtual bool IsDeprecated(int /*major*/, int /*minor*/)
+ {
+ return false;
+ }
+
+ /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() = 0;