summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-10 19:26:56 (GMT)
committerBrad King <brad.king@kitware.com>2010-12-10 19:26:56 (GMT)
commit57e71533f45601275afd7787d763664f9e6b9536 (patch)
tree9f6745ca381c412b24512ecd10b7ce65b0b69577 /Source/cmGlobalVisualStudio7Generator.cxx
parent772817242bf1c94697b06f711f1cd24ad5b0d8d8 (diff)
downloadCMake-57e71533f45601275afd7787d763664f9e6b9536.zip
CMake-57e71533f45601275afd7787d763664f9e6b9536.tar.gz
CMake-57e71533f45601275afd7787d763664f9e6b9536.tar.bz2
Avoid msbuild idiosyncrasy that builds multiple configs (#11594)
If a .sln file refers to a project file with a leading ".\", as in ".\foo.vcxproj" instead of just "foo.vcxproj" or a full path then msbuild behaves strangely. Whenever target foo is built as a dependency of another target, msbuild brings multiple configurations up to date instead of just the requested configuration! Refer to all project files by full path to avoid this behavior.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index d421c7f..6858674 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -297,8 +297,6 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution(
{
cmMakefile* tmf = target->GetMakefile();
std::string dir = tmf->GetStartOutputDirectory();
- dir = root->Convert(dir.c_str(),
- cmLocalGenerator::START_OUTPUT);
this->WriteProject(fout, vcprojName, dir.c_str(),
*target);
written = true;