diff options
author | Brad King <brad.king@kitware.com> | 2002-10-28 15:29:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-10-28 15:29:28 (GMT) |
commit | 61a9bddb4ca349eeb164a42d546e3fc6ba25f665 (patch) | |
tree | 4c36229e0b9307a922fbdff708a3708ab1777c58 | |
parent | 56f2d451912340b2a96c81db192cca7b20758911 (diff) | |
download | CMake-61a9bddb4ca349eeb164a42d546e3fc6ba25f665.zip CMake-61a9bddb4ca349eeb164a42d546e3fc6ba25f665.tar.gz CMake-61a9bddb4ca349eeb164a42d546e3fc6ba25f665.tar.bz2 |
ENH: Added generation of --gccxml-cxxflags option to complement --gccxml-compiler.
-rw-r--r-- | Source/cmITKWrapTclCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx index 1bd20b6..656741f 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"); |