diff options
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, |