mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
VS: removed usage of relative paths for C# targets in in-source builds
This commit is contained in:
parent
90cb408323
commit
4bfb1249ed
@ -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=\""
|
||||
|
Loading…
Reference in New Issue
Block a user