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/cmVTKWrapTclCommand.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/cmVTKWrapTclCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapTclCommand.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx index 66ba407..20d832c 100644 --- a/Source/cmVTKWrapTclCommand.cxx +++ b/Source/cmVTKWrapTclCommand.cxx @@ -161,15 +161,14 @@ void cmVTKWrapTclCommand::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::vector<std::string> args; args.push_back(m_WrapHeaders[classNum]); args.push_back(hints); args.push_back((m_WrapClasses[classNum].IsAnAbstractClass() ? "0" : "1")); - std::string tmp = m_Makefile->GetCurrentOutputDirectory(); - tmp += "/"; - tmp += m_WrapClasses[classNum].GetSourceName() + ".cxx"; - args.push_back(tmp); + std::string res = m_Makefile->GetCurrentOutputDirectory(); + res += "/"; + res += m_WrapClasses[classNum].GetSourceName() + ".cxx"; + args.push_back(res); m_Makefile->AddCustomCommand(m_WrapHeaders[classNum].c_str(), wtcl.c_str(), args, depends, |