mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
minor fixes
This commit is contained in:
parent
a57202fcc4
commit
0333f15b96
@ -116,9 +116,12 @@ void cmVTKWrapJavaCommand::FinalPass()
|
||||
|
||||
// wrap all the .h files
|
||||
depends.push_back(wjava);
|
||||
depends.push_back(hints);
|
||||
depends2.push_back(pjava);
|
||||
depends2.push_back(hints);
|
||||
if (strcmp("${VTK_WRAP_HINTS}",hints.c_str()))
|
||||
{
|
||||
depends.push_back(hints);
|
||||
depends2.push_back(hints);
|
||||
}
|
||||
for(int classNum = 0; classNum < lastClass; classNum++)
|
||||
{
|
||||
m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str());
|
||||
@ -132,7 +135,10 @@ void cmVTKWrapJavaCommand::FinalPass()
|
||||
|
||||
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);
|
||||
|
||||
@ -142,7 +148,10 @@ void cmVTKWrapJavaCommand::FinalPass()
|
||||
|
||||
std::vector<std::string> args2;
|
||||
args2.push_back(m_WrapHeaders[classNum]);
|
||||
args2.push_back(hints);
|
||||
if (strcmp("${VTK_WRAP_HINTS}",hints.c_str()))
|
||||
{
|
||||
args2.push_back(hints);
|
||||
}
|
||||
args2.push_back((m_WrapClasses[classNum].IsAnAbstractClass() ? "0" : "1"));
|
||||
args2.push_back(res2);
|
||||
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user