BUG: when creating rule files remove the IntDir

This commit is contained in:
Bill Hoffman 2003-07-31 16:43:53 -04:00
parent e9c517ecf1
commit 6e494f9bce
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
{ {
if(!cmSystemTools::FileExists(source.c_str())) if(!cmSystemTools::FileExists(source.c_str()))
{ {
cmSystemTools::ReplaceString(source, "$(IntDir)/", "");
#if defined(_WIN32) || defined(__CYGWIN__) #if defined(_WIN32) || defined(__CYGWIN__)
std::ofstream fout(source.c_str(), std::ofstream fout(source.c_str(),
std::ios::binary | std::ios::out | std::ios::trunc); std::ios::binary | std::ios::out | std::ios::trunc);