fixed custom command rule
This commit is contained in:
parent
c2715d27ec
commit
56714a49d4
|
@ -268,7 +268,8 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
|
|||
// Tell MS-Dev what the source is. If the compiler knows how to
|
||||
// build it, then it will.
|
||||
fout << "SOURCE=" << source.c_str() << "\n\n";
|
||||
|
||||
if (!commands.empty())
|
||||
{
|
||||
// Loop through every custom command generating code from the
|
||||
// current source.
|
||||
// build up the depends and outputs and commands
|
||||
|
@ -297,6 +298,7 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
|
|||
this->WriteCustomRule(fout, source.c_str(), totalCommandStr.c_str(),
|
||||
totalCommand.m_Depends,
|
||||
totalCommand.m_Outputs);
|
||||
}
|
||||
fout << "# End Source File\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -268,7 +268,8 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
|
|||
// Tell MS-Dev what the source is. If the compiler knows how to
|
||||
// build it, then it will.
|
||||
fout << "SOURCE=" << source.c_str() << "\n\n";
|
||||
|
||||
if (!commands.empty())
|
||||
{
|
||||
// Loop through every custom command generating code from the
|
||||
// current source.
|
||||
// build up the depends and outputs and commands
|
||||
|
@ -297,6 +298,7 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
|
|||
this->WriteCustomRule(fout, source.c_str(), totalCommandStr.c_str(),
|
||||
totalCommand.m_Depends,
|
||||
totalCommand.m_Outputs);
|
||||
}
|
||||
fout << "# End Source File\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue