diff options
author | Brad King <brad.king@kitware.com> | 2006-08-31 17:20:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-31 17:20:12 (GMT) |
commit | f12742d6cdffd62378a4bbf8eeff0c552d2d9093 (patch) | |
tree | 47d6106c36cff7c570473b9cf41ed53a2cbbf443 /Source/cmVTKWrapJavaCommand.h | |
parent | 2b33498c03877157faaacaa06f1a5e865b7d8537 (diff) | |
download | CMake-f12742d6cdffd62378a4bbf8eeff0c552d2d9093.zip CMake-f12742d6cdffd62378a4bbf8eeff0c552d2d9093.tar.gz CMake-f12742d6cdffd62378a4bbf8eeff0c552d2d9093.tar.bz2 |
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/cmVTKWrapJavaCommand.h')
-rw-r--r-- | Source/cmVTKWrapJavaCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVTKWrapJavaCommand.h b/Source/cmVTKWrapJavaCommand.h index 2532bd2..6ffaa52 100644 --- a/Source/cmVTKWrapJavaCommand.h +++ b/Source/cmVTKWrapJavaCommand.h @@ -77,6 +77,12 @@ public: "Create Java wrappers for VTK classes."; } + /** This command is only kept for compatibility with older CMake versions. */ + virtual bool IsDiscouraged() + { + return true; + } + private: std::vector<cmSourceFile> WrapClasses; std::vector<std::string> WrapHeaders; |