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:
parent
4c06e23307
commit
7ef659fcc3
|
@ -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 *>
|
||||||
|
|
Loading…
Reference in New Issue