summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-09 20:35:13 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-09 20:35:13 (GMT)
commit772b1f627826d6095b87f73ca6db7eef32d6482e (patch)
tree982cb3c6fbec5b04ad0e47ed6b5188e5589aeb53 /Source/cmDSPMakefile.cxx
parent05f863d5abb00f6b245554f0e3b7b0e9e7ff57a0 (diff)
downloadCMake-772b1f627826d6095b87f73ca6db7eef32d6482e.zip
CMake-772b1f627826d6095b87f73ca6db7eef32d6482e.tar.gz
CMake-772b1f627826d6095b87f73ca6db7eef32d6482e.tar.bz2
ERR: Fixed library path problem for ReleaseMinSize build. should now be used in place of separate Release, Debug, and ReleaseMinSize.
Diffstat (limited to 'Source/cmDSPMakefile.cxx')
-rw-r--r--Source/cmDSPMakefile.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx
index db60501..97359b8 100644
--- a/Source/cmDSPMakefile.cxx
+++ b/Source/cmDSPMakefile.cxx
@@ -74,21 +74,16 @@ void cmDSPMakefile::OutputDSPFile()
{
if(i->find("Release") == std::string::npos)
{
- m_DebugLibraryOptions += "/Debug\" ";
+ m_DebugLibraryOptions += "/$(OUTDIR)\" ";
}
}
}
m_DebugLibraryOptions += "/STACK:10000000 ";
// add any extra define flags
m_ReleaseLibraryOptions = m_DebugLibraryOptions;
- cmSystemTools::ReplaceString(m_ReleaseLibraryOptions, "Debug", "Release");
m_DebugDLLLibraryOptions = m_DebugLibraryOptions;
- cmSystemTools::ReplaceString(m_DebugDLLLibraryOptions, "Debug", "DebugDLL");
m_ReleaseDLLLibraryOptions = m_DebugDLLLibraryOptions;
- cmSystemTools::ReplaceString(m_ReleaseDLLLibraryOptions, "Debug", "Release");
m_ReleaseMinSizeLibraryOptions = m_ReleaseLibraryOptions;
- cmSystemTools::ReplaceString(m_ReleaseMinSizeLibraryOptions,
- "Release", "ReleaseMinSize");
// Create the DSP or set of DSP's for libraries and executables
if(strlen(m_Makefile->GetLibraryName()) != 0)