From 61a9bddb4ca349eeb164a42d546e3fc6ba25f665 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 Oct 2002 10:29:28 -0500 Subject: [PATCH] ENH: Added generation of --gccxml-cxxflags option to complement --gccxml-compiler. --- Source/cmITKWrapTclCommand.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx index 1bd20b698..656741f74 100644 --- a/Source/cmITKWrapTclCommand.cxx +++ b/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");