summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-07-31 16:43:53 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2003-07-31 16:43:53 -0400
commit6e494f9bce9742b022a11aacde07b11bd4cfd64a (patch)
treeab4a7d2d0a22d80c0d1d131219b883c97d788f73 /Source/cmLocalVisualStudio6Generator.cxx
parente9c517ecf1acb01eeb26024ab678620ca5b89387 (diff)
downloadcmake-6e494f9bce9742b022a11aacde07b11bd4cfd64a.tar.gz
BUG: when creating rule files remove the IntDir
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 4e7df945a1..75c7503a1f 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);