summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmITKWrapTclCommand.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx
index ba28e1b..0dbd1e9 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);