diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-20 20:49:09 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-20 20:49:09 (GMT) |
commit | 339bdd47b584a7e273bd488e21d95d241be3baaa (patch) | |
tree | 6585054fc78b2bcdb242571c8f282ee166c0782d /Source/cmDSPWriter.cxx | |
parent | adbae91cb5a5cb4cd33df273dd977791406ec339 (diff) | |
download | CMake-339bdd47b584a7e273bd488e21d95d241be3baaa.zip CMake-339bdd47b584a7e273bd488e21d95d241be3baaa.tar.gz CMake-339bdd47b584a7e273bd488e21d95d241be3baaa.tar.bz2 |
ENH: boot strap mfc gui and support for MFC
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 0135b59..b936a11 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -590,6 +590,13 @@ void cmDSPWriter::WriteDSPHeader(std::ostream& fout, const char *libName, { fin.getline(buffer, 2048); std::string line = buffer; + const char* mfcFlag = m_Makefile->GetDefinition("CMAKE_MFC_FLAG"); + if(!mfcFlag) + { + mfcFlag = "0"; + } + cmSystemTools::ReplaceString(line, "CMAKE_MFC_FLAG", + mfcFlag); cmSystemTools::ReplaceString(line, "CM_LIBRARIES", libOptions.c_str()); cmSystemTools::ReplaceString(line, "CM_DEBUG_LIBRARIES", |