diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-21 18:42:54 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-21 18:42:54 (GMT) |
commit | 4d311988b9be634980b9a188e226a0eb5a69359b (patch) | |
tree | 908b8e537a5fab310237897de89dd5713c3c155d /Source/cmCommand.h | |
parent | 187a58430b1f52e3e2a8a91ad26e2212183fe654 (diff) | |
download | CMake-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.h | 8 |
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; |