ERR: Small bug in generated DSP file fixed. A custom command environment variable has been replaced with explicity writing out the command.
This commit is contained in:
parent
8c087d0e7a
commit
20fb92d80b
|
@ -303,7 +303,6 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
|
||||||
fout << "!ELSEIF \"$(CFG)\" == " << i->c_str() << std::endl;
|
fout << "!ELSEIF \"$(CFG)\" == " << i->c_str() << std::endl;
|
||||||
}
|
}
|
||||||
fout << "# Begin Custom Build\n\n";
|
fout << "# Begin Custom Build\n\n";
|
||||||
fout << "BuildCommand = " << command << "\n\n";
|
|
||||||
|
|
||||||
// Write a rule for every output generated by this command.
|
// Write a rule for every output generated by this command.
|
||||||
for(std::set<std::string>::const_iterator output = outputs.begin();
|
for(std::set<std::string>::const_iterator output = outputs.begin();
|
||||||
|
@ -317,7 +316,7 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
|
||||||
{
|
{
|
||||||
fout << " \"" << d->c_str() << "\"";
|
fout << " \"" << d->c_str() << "\"";
|
||||||
}
|
}
|
||||||
fout << "\n $(BuildCommand)\n\n";
|
fout << "\n " << command << "\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
fout << "# End Custom Build\n\n";
|
fout << "# End Custom Build\n\n";
|
||||||
|
|
|
@ -303,7 +303,6 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
|
||||||
fout << "!ELSEIF \"$(CFG)\" == " << i->c_str() << std::endl;
|
fout << "!ELSEIF \"$(CFG)\" == " << i->c_str() << std::endl;
|
||||||
}
|
}
|
||||||
fout << "# Begin Custom Build\n\n";
|
fout << "# Begin Custom Build\n\n";
|
||||||
fout << "BuildCommand = " << command << "\n\n";
|
|
||||||
|
|
||||||
// Write a rule for every output generated by this command.
|
// Write a rule for every output generated by this command.
|
||||||
for(std::set<std::string>::const_iterator output = outputs.begin();
|
for(std::set<std::string>::const_iterator output = outputs.begin();
|
||||||
|
@ -317,7 +316,7 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
|
||||||
{
|
{
|
||||||
fout << " \"" << d->c_str() << "\"";
|
fout << " \"" << d->c_str() << "\"";
|
||||||
}
|
}
|
||||||
fout << "\n $(BuildCommand)\n\n";
|
fout << "\n " << command << "\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
fout << "# End Custom Build\n\n";
|
fout << "# End Custom Build\n\n";
|
||||||
|
|
Loading…
Reference in New Issue