diff options
author | Brad King <brad.king@kitware.com> | 2010-09-27 12:37:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-09-27 12:37:00 (GMT) |
commit | 7ef659fcc3db3d11190526101f123992728794e0 (patch) | |
tree | e2457332e841571699f13eacdfdbc24d8734b78e /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 4c06e233071bac7821e27fece0c4d597c12798eb (diff) | |
download | CMake-7ef659fcc3db3d11190526101f123992728794e0.zip CMake-7ef659fcc3db3d11190526101f123992728794e0.tar.gz CMake-7ef659fcc3db3d11190526101f123992728794e0.tar.bz2 |
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.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index b290aed..8dfafff 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -767,7 +767,7 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags( hasFlags = true; this->WriteString("<ObjectFileName>", 3); (*this->BuildFileStream ) - << "$(Configuration)/" << objectName << "</ObjectFileName>\n"; + << "$(IntDir)/" << objectName << "</ObjectFileName>\n"; } std::vector<std::string> *configs = static_cast<cmGlobalVisualStudio7Generator *> |