Browse Source

ENH: Added generation of --gccxml-cxxflags option to complement --gccxml-compiler.

Brad King 23 years ago
parent
commit
61a9bddb4c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmITKWrapTclCommand.cxx

+ 4 - 0
Source/cmITKWrapTclCommand.cxx

@@ -88,6 +88,10 @@ bool cmITKWrapTclCommand::CreateCableRule(const char* configFile)
     {
     commandArgs.push_back("--gccxml-compiler");
     commandArgs.push_back(tmp);
+    tmp = "${CMAKE_CXX_FLAGS}";
+    m_Makefile->ExpandVariablesInString(tmp);
+    commandArgs.push_back("--gccxml-cxxflags");
+    commandArgs.push_back(tmp);
     }
 #endif
   const char* gccxml = m_Makefile->GetDefinition("ITK_GCCXML_EXECUTABLE");