From 0f0b726f500a4b4b39d5abe79fa490eb5f0939dc Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 22 Oct 2009 10:21:35 -0400 Subject: Fix Microsoft.Cpp.$(Platform).user.props in VS10b2 MS changed the location of the Microsoft.Cpp.$(Platform).user.props file. This commit teaches the VS 10 generator about the new location. See issue #9759. --- Source/cmVisualStudio10TargetGenerator.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index e1c1fba..860fe21 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -103,6 +103,7 @@ void cmVisualStudio10TargetGenerator::WriteString(const char* line, (*this->BuildFileStream ) << line; } +#define VS10_USER_PROPS "$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props" void cmVisualStudio10TargetGenerator::Generate() { @@ -153,12 +154,9 @@ void cmVisualStudio10TargetGenerator::Generate() this->WriteString("\n", 1); this->WriteString("\n", 1); this->WriteString("\n", 1); - this->WriteString("\n", 2); + this->WriteString("", 2); this->WriteString("\n", 1); this->WriteString("\n", 1); this->WritePathAndIncrementalLinkOptions(); -- cgit v0.12