diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx index ba28e1bd1..0dbd1e9bc 100644 --- a/Source/cmITKWrapTclCommand.cxx +++ b/Source/cmITKWrapTclCommand.cxx @@ -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);