Commit 038999e8 authored by Gregor Jasny's avatar Gregor Jasny
Browse files

VS: Always prefix IntDir with SolutionDir

Closes #16458
parent b3379e63
Pipeline #60621 failed with stage
......@@ -2084,10 +2084,11 @@ void cmVisualStudio10TargetGenerator::WritePathAndIncrementalLinkOptions()
if (ttype >= cmStateEnums::UTILITY) {
this->WritePlatformConfigTag("IntDir", config->c_str(), 2);
*this->BuildFileStream
<< "$(Platform)\\$(Configuration)\\$(ProjectName)\\"
<< "$(SolutionDir)$(Platform)\\$(Configuration)\\$(ProjectName)\\"
<< "</IntDir>\n";
} else {
std::string intermediateDir =
std::string intermediateDir = "$(SolutionDir)";
intermediateDir +=
this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
intermediateDir += "/";
intermediateDir += *config;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment