summaryrefslogtreecommitdiff
path: root/Source/cmVTKWrapJavaCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-10-13 10:52:34 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2006-10-13 10:52:34 -0400
commit72b38e3aa7ba5fa4a70144e05de36bc99fda173a (patch)
tree744005aab47678a2a742267a01799a8f53dd0cf7 /Source/cmVTKWrapJavaCommand.h
parent8883613cc022d0ae2c96d84adf79dd82b74df658 (diff)
downloadcmake-72b38e3aa7ba5fa4a70144e05de36bc99fda173a.tar.gz
ENH: merge changes from the main tree to the 2.4 branch
Diffstat (limited to 'Source/cmVTKWrapJavaCommand.h')
-rw-r--r--Source/cmVTKWrapJavaCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVTKWrapJavaCommand.h b/Source/cmVTKWrapJavaCommand.h
index 2532bd2b2c..419e399421 100644
--- a/Source/cmVTKWrapJavaCommand.h
+++ b/Source/cmVTKWrapJavaCommand.h
@@ -77,6 +77,12 @@ public:
"Create Java wrappers for VTK classes.";
}
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
private:
std::vector<cmSourceFile> WrapClasses;
std::vector<std::string> WrapHeaders;