From 3997fdeec3a8e447724f1e1d092fd17322a6ad5a Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 1 Oct 2002 18:37:08 -0400 Subject: [PATCH] ENH: Added support to pass the gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set on m_Makefile. --- Source/cmITKWrapTclCommand.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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);