summaryrefslogtreecommitdiffstats
path: root/Source/cmITKWrapTclCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-10-01 22:37:08 (GMT)
committerBrad King <brad.king@kitware.com>2002-10-01 22:37:08 (GMT)
commit3997fdeec3a8e447724f1e1d092fd17322a6ad5a (patch)
treefb440f18e9bb23331b90475665c4e53dfc286bc9 /Source/cmITKWrapTclCommand.cxx
parentdfb25dd982b90403643c39b20232da5ee1283579 (diff)
downloadCMake-3997fdeec3a8e447724f1e1d092fd17322a6ad5a.zip
CMake-3997fdeec3a8e447724f1e1d092fd17322a6ad5a.tar.gz
CMake-3997fdeec3a8e447724f1e1d092fd17322a6ad5a.tar.bz2
ENH: Added support to pass the gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set on m_Makefile.
Diffstat (limited to 'Source/cmITKWrapTclCommand.cxx')
-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);