diff options
author | Brad King <brad.king@kitware.com> | 2006-08-31 13:20:12 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-31 13:20:12 -0400 |
commit | f12742d6cdffd62378a4bbf8eeff0c552d2d9093 (patch) | |
tree | 47d6106c36cff7c570473b9cf41ed53a2cbbf443 /Source/cmSubdirCommand.h | |
parent | 2b33498c03877157faaacaa06f1a5e865b7d8537 (diff) | |
download | cmake-f12742d6cdffd62378a4bbf8eeff0c552d2d9093.tar.gz |
ENH: Patch from Alex to add IsDiscouraged method for future use in generating separate documentation for old commands. Also modified documentation of MAKE_DIRECTORY and REMOVE commands to indicate they should not be used.
Diffstat (limited to 'Source/cmSubdirCommand.h')
-rw-r--r-- | Source/cmSubdirCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h index 71cc31e0a0..4ec3da98d8 100644 --- a/Source/cmSubdirCommand.h +++ b/Source/cmSubdirCommand.h @@ -80,6 +80,12 @@ public: "top level project or be built each time make is run from the top."; } + /** This command is only kept for compatibility with older CMake versions. */ + virtual bool IsDiscouraged() + { + return true; + } + cmTypeMacro(cmSubdirCommand, cmCommand); }; |