diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-04 16:52:56 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-04 16:52:56 (GMT) |
commit | d1939b26ee3c8bd93de03de1953e88a66bc6fe35 (patch) | |
tree | a22c2e8d48dff22bf7abc2b1bcad5b40e4c9e71c /Source/cmVTKWrapJavaCommand.cxx | |
parent | 7bf828d132104896a58374b318f36b60dc59444b (diff) | |
download | CMake-d1939b26ee3c8bd93de03de1953e88a66bc6fe35.zip CMake-d1939b26ee3c8bd93de03de1953e88a66bc6fe35.tar.gz CMake-d1939b26ee3c8bd93de03de1953e88a66bc6fe35.tar.bz2 |
updates
Diffstat (limited to 'Source/cmVTKWrapJavaCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapJavaCommand.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVTKWrapJavaCommand.cxx b/Source/cmVTKWrapJavaCommand.cxx index d828e00..d290b3a 100644 --- a/Source/cmVTKWrapJavaCommand.cxx +++ b/Source/cmVTKWrapJavaCommand.cxx @@ -107,7 +107,8 @@ void cmVTKWrapJavaCommand::FinalPass() std::string wjava = "${VTK_WRAP_JAVA_EXE}"; std::string pjava = "${VTK_PARSE_JAVA_EXE}"; std::string hints = "${VTK_WRAP_HINTS}"; - + std::string resultDirectory = "${VTK_JAVA_HOME}"; + // wrap all the .h files depends.push_back(wjava); depends2.push_back(pjava); @@ -126,7 +127,7 @@ void cmVTKWrapJavaCommand::FinalPass() res.c_str(), m_LibraryName.c_str()); cmd = pjava + " " + m_WrapHeaders[classNum] + " " - + hints + (m_WrapClasses[classNum].IsAnAbstractClass() ? " 0 " : " 1 ") + " > " + m_OriginalNames[classNum] + ".java"; + + hints + (m_WrapClasses[classNum].IsAnAbstractClass() ? " 0 " : " 1 ") + " > " + resultDirectory + "/" + m_OriginalNames[classNum] + ".java"; m_Makefile->AddCustomCommand(m_WrapHeaders[classNum].c_str(), cmd.c_str(), depends2, res2.c_str(), m_LibraryName.c_str()); |