Browse Source

BUG: when creating rule files remove the IntDir

Bill Hoffman 22 years ago
parent
commit
6e494f9bce
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmLocalVisualStudio6Generator.cxx

+ 1 - 0
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);