1
0
Эх сурвалжийг харах

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

Brad King 23 жил өмнө
parent
commit
3997fdeec3

+ 6 - 0
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);