ENH: changne ProcessGenertor to DoPackage

This commit is contained in:
Bill Hoffman 2007-11-06 08:28:26 -05:00
parent cfd308ce43
commit 33478faeb6
3 changed files with 3 additions and 3 deletions

View File

@ -645,7 +645,7 @@ void cmCPackGenerator::SetOption(const char* op, const char* value)
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
int cmCPackGenerator::ProcessGenerator() int cmCPackGenerator::DoPackage()
{ {
cmCPackLogger(cmCPackLog::LOG_OUTPUT, cmCPackLogger(cmCPackLog::LOG_OUTPUT,
"Create package using " << this->Name.c_str() << std::endl); "Create package using " << this->Name.c_str() << std::endl);

View File

@ -62,7 +62,7 @@ public:
* Do the actual processing. Subclass has to override it. * Do the actual processing. Subclass has to override it.
* Return 0 if error. * Return 0 if error.
*/ */
virtual int ProcessGenerator(); virtual int DoPackage();
/** /**
* Initialize generator * Initialize generator

View File

@ -429,7 +429,7 @@ int main (int argc, char *argv[])
ostr.str().c_str()); ostr.str().c_str());
} }
int res = cpackGenerator->ProcessGenerator(); int res = cpackGenerator->DoPackage();
if ( !res ) if ( !res )
{ {
cmCPack_Log(&log, cmCPackLog::LOG_ERROR, cmCPack_Log(&log, cmCPackLog::LOG_ERROR,