summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-06-05 18:40:25 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-06-05 18:40:25 (GMT)
commit703242071f022b211253c68e434ec20e0c58e637 (patch)
tree2db84d24d340300c61f0b0b8de8bf2941a944e34 /Source/cmLocalVisualStudio6Generator.cxx
parentd5d0f17e5cb4eea7af9940daefbf8d55df964456 (diff)
downloadCMake-703242071f022b211253c68e434ec20e0c58e637.zip
CMake-703242071f022b211253c68e434ec20e0c58e637.tar.gz
CMake-703242071f022b211253c68e434ec20e0c58e637.tar.bz2
more crazt changes source files now must match with full path
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 5aa9e47..055ac3a 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -281,7 +281,11 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
name += ".";
name += outsf->GetSourceExtension();
}
- srcFilesToProcess.push(name);
+ std::string temp =
+ cmSystemTools::GetFilenamePath(outsf->GetFullPath());
+ temp += "/";
+ temp += name;
+ srcFilesToProcess.push(temp);
}
// add its dependencies to the list to check
unsigned int i;