VS10: Use $(IntDir) for per-source output directory (#11270)

The original implementation of this generator accidentally used
"$(Configuration)/" for source-specific object file names.  Correct it
to use "$(IntDir)/" just like the generators for all previous VS
versions.  The target-wide output directory is "$(IntDir)/" already.
This commit is contained in:
Brad King 2010-09-27 08:37:00 -04:00
parent 4c06e23307
commit 7ef659fcc3
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
hasFlags = true; hasFlags = true;
this->WriteString("<ObjectFileName>", 3); this->WriteString("<ObjectFileName>", 3);
(*this->BuildFileStream ) (*this->BuildFileStream )
<< "$(Configuration)/" << objectName << "</ObjectFileName>\n"; << "$(IntDir)/" << objectName << "</ObjectFileName>\n";
} }
std::vector<std::string> *configs = std::vector<std::string> *configs =
static_cast<cmGlobalVisualStudio7Generator *> static_cast<cmGlobalVisualStudio7Generator *>