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

This commit is contained in:
Brad King 2002-10-28 10:29:28 -05:00
parent 56f2d45191
commit 61a9bddb4c
1 changed files with 4 additions and 0 deletions

View File

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