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/cmVTKWrapPythonCommand.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/cmVTKWrapPythonCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapPythonCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx index 09e8acc..56691d3 100644 --- a/Source/cmVTKWrapPythonCommand.cxx +++ b/Source/cmVTKWrapPythonCommand.cxx @@ -129,7 +129,9 @@ void cmVTKWrapPythonCommand::FinalPass() for(int classNum = 0; classNum < lastClass; classNum++) { m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str()); - std::string res = m_WrapClasses[classNum].GetSourceName() + ".cxx"; + std::string res = m_Makefile->GetCurrentOutputDirectory(); + res += "/"; + res += m_WrapClasses[classNum].GetSourceName() + ".cxx"; std::vector<std::string> args; args.push_back(m_WrapHeaders[classNum]); args.push_back(hints); |