From 6e494f9bce9742b022a11aacde07b11bd4cfd64a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 31 Jul 2003 16:43:53 -0400 Subject: [PATCH] BUG: when creating rule files remove the IntDir --- Source/cmLocalVisualStudio6Generator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 4e7df945a..75c7503a1 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);