diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-01-03 19:19:06 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-01-03 19:19:06 (GMT) |
commit | 0333f15b96ebe0308ef3d04a0ec9a434d3a0be40 (patch) | |
tree | c9982724f0475083ae56ff2ba9f0d562c1ced79a /Source/cmVTKWrapPythonCommand.cxx | |
parent | a57202fcc49cf6eca8975df127125e5274ada4af (diff) | |
download | CMake-0333f15b96ebe0308ef3d04a0ec9a434d3a0be40.zip CMake-0333f15b96ebe0308ef3d04a0ec9a434d3a0be40.tar.gz CMake-0333f15b96ebe0308ef3d04a0ec9a434d3a0be40.tar.bz2 |
minor fixes
Diffstat (limited to 'Source/cmVTKWrapPythonCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapPythonCommand.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx index 811d17c..e36ab30 100644 --- a/Source/cmVTKWrapPythonCommand.cxx +++ b/Source/cmVTKWrapPythonCommand.cxx @@ -125,7 +125,10 @@ void cmVTKWrapPythonCommand::FinalPass() // wrap all the .h files depends.push_back(wpython); - depends.push_back(hints); + if (strcmp("${VTK_WRAP_HINTS}",hints.c_str())) + { + depends.push_back(hints); + } for(int classNum = 0; classNum < lastClass; classNum++) { m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str()); @@ -134,7 +137,10 @@ void cmVTKWrapPythonCommand::FinalPass() res += m_WrapClasses[classNum].GetSourceName() + ".cxx"; std::vector<std::string> args; args.push_back(m_WrapHeaders[classNum]); - args.push_back(hints); + if (strcmp("${VTK_WRAP_HINTS}",hints.c_str())) + { + args.push_back(hints); + } args.push_back((m_WrapClasses[classNum].IsAnAbstractClass() ? "0" : "1")); args.push_back(res); m_Makefile->AddCustomCommand(m_WrapHeaders[classNum].c_str(), |