diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-06 14:35:48 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-06 14:35:48 (GMT) |
commit | 319a5e007713726e1548148045b157eb286f1ef9 (patch) | |
tree | c58e4d05bfba8d63b6da93135ec826b9fe107409 /Source/cmVTKWrapJavaCommand.cxx | |
parent | 05a884c675b0fb7693e46502c57f3cd663c5691d (diff) | |
download | CMake-319a5e007713726e1548148045b157eb286f1ef9.zip CMake-319a5e007713726e1548148045b157eb286f1ef9.tar.gz CMake-319a5e007713726e1548148045b157eb286f1ef9.tar.bz2 |
BUG: CustomCommand has to use full path to Source file now
Diffstat (limited to 'Source/cmVTKWrapJavaCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapJavaCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmVTKWrapJavaCommand.cxx b/Source/cmVTKWrapJavaCommand.cxx index 033cf09..bfa8235 100644 --- a/Source/cmVTKWrapJavaCommand.cxx +++ b/Source/cmVTKWrapJavaCommand.cxx @@ -124,7 +124,9 @@ void cmVTKWrapJavaCommand::FinalPass() m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str()); // wrap java - std::string res = m_WrapClasses[classNum].GetSourceName() + ".cxx"; + std::string res = m_Makefile->GetCurrentOutputDirectory(); + res += "/"; + res += m_WrapClasses[classNum].GetSourceName() + ".cxx"; std::string res2 = resultDirectory + "/" + m_OriginalNames[classNum] + ".java"; |