summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-07-31 20:43:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-07-31 20:43:53 (GMT)
commit6e494f9bce9742b022a11aacde07b11bd4cfd64a (patch)
treeab4a7d2d0a22d80c0d1d131219b883c97d788f73 /Source
parente9c517ecf1acb01eeb26024ab678620ca5b89387 (diff)
downloadCMake-6e494f9bce9742b022a11aacde07b11bd4cfd64a.zip
CMake-6e494f9bce9742b022a11aacde07b11bd4cfd64a.tar.gz
CMake-6e494f9bce9742b022a11aacde07b11bd4cfd64a.tar.bz2
BUG: when creating rule files remove the IntDir
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 4e7df94..75c7503 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -259,6 +259,7 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
{
if(!cmSystemTools::FileExists(source.c_str()))
{
+ cmSystemTools::ReplaceString(source, "$(IntDir)/", "");
#if defined(_WIN32) || defined(__CYGWIN__)
std::ofstream fout(source.c_str(),
std::ios::binary | std::ios::out | std::ios::trunc);