ENH: Added support to pass the gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set on m_Makefile.

This commit is contained in:
Brad King 2002-10-01 18:37:08 -04:00
parent dfb25dd982
commit 3997fdeec3
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,12 @@ bool cmITKWrapTclCommand::CreateCableRule(const char* configFile)
commandArgs.push_back(tmp);
}
#endif
const char* gccxml = m_Makefile->GetDefinition("ITK_GCCXML_EXECUTABLE");
if(gccxml)
{
commandArgs.push_back("--gccxml");
commandArgs.push_back(gccxml);
}
tmp = "-I";
tmp += m_Makefile->GetStartDirectory();
commandArgs.push_back(tmp);