Refactor: Allow cmInstallGenerator::Compute() to return an error

This is preparation for an upcoming merge request, which will add
a new cmInstallGenerator that returns false if there are errors in
the Compute() step.
This commit is contained in:
Kyle Edwards
2019-03-15 11:01:59 -04:00
parent 741fb95f66
commit b133d14fb1
16 changed files with 28 additions and 17 deletions
+2 -1
View File
@@ -30,10 +30,11 @@ cmInstallExportAndroidMKGenerator::~cmInstallExportAndroidMKGenerator()
{
}
void cmInstallExportAndroidMKGenerator::Compute(cmLocalGenerator* lg)
bool cmInstallExportAndroidMKGenerator::Compute(cmLocalGenerator* lg)
{
this->LocalGenerator = lg;
this->ExportSet->Compute(lg);
return true;
}
void cmInstallExportAndroidMKGenerator::GenerateScript(std::ostream& os)