summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2017-01-18 14:53:40 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2017-01-18 14:53:40 (GMT)
commit4bfb1249ede1b86dcd53b34ec885f17460edc8f6 (patch)
tree1dc19afcf9bf37f5f3eb7752f354696ce2eaade8
parent90cb40832375fa880b792ca9bf5cdd3071912f9d (diff)
downloadCMake-4bfb1249ede1b86dcd53b34ec885f17460edc8f6.zip
CMake-4bfb1249ede1b86dcd53b34ec885f17460edc8f6.tar.gz
CMake-4bfb1249ede1b86dcd53b34ec885f17460edc8f6.tar.bz2
VS: removed usage of relative paths for C# targets in in-source builds
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 138ac2b..2e6c19b 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1671,12 +1671,6 @@ void cmVisualStudio10TargetGenerator::WriteSource(std::string const& tool,
this->GlobalGenerator->PathTooLong(this->GeneratorTarget, sf, sourceRel);
}
}
- if (csproj == this->ProjectType && this->InSourceBuild) {
- std::string srcdir = this->Makefile->GetCurrentSourceDirectory();
- if (sourceFile.find(srcdir) != std::string::npos) {
- sourceFile = sourceFile.substr(srcdir.size() + 1);
- }
- }
this->ConvertToWindowsSlash(sourceFile);
this->WriteString("<", 2);
(*this->BuildFileStream) << tool << " Include=\""