summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-11-06 13:28:26 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-11-06 13:28:26 (GMT)
commit33478faeb6a2d8bea8d8c3eb867fefdd94a0d962 (patch)
treeeb69ef5eab44cace30597e9859db77b70aadf358 /Source/CPack
parentcfd308ce432975958a86a2266180613b704ceac7 (diff)
downloadCMake-33478faeb6a2d8bea8d8c3eb867fefdd94a0d962.zip
CMake-33478faeb6a2d8bea8d8c3eb867fefdd94a0d962.tar.gz
CMake-33478faeb6a2d8bea8d8c3eb867fefdd94a0d962.tar.bz2
ENH: changne ProcessGenertor to DoPackage
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx2
-rw-r--r--Source/CPack/cmCPackGenerator.h2
-rw-r--r--Source/CPack/cpack.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index ee10ad1..516c975 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -645,7 +645,7 @@ void cmCPackGenerator::SetOption(const char* op, const char* value)
}
//----------------------------------------------------------------------
-int cmCPackGenerator::ProcessGenerator()
+int cmCPackGenerator::DoPackage()
{
cmCPackLogger(cmCPackLog::LOG_OUTPUT,
"Create package using " << this->Name.c_str() << std::endl);
diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h
index b2a6972..da819d6 100644
--- a/Source/CPack/cmCPackGenerator.h
+++ b/Source/CPack/cmCPackGenerator.h
@@ -62,7 +62,7 @@ public:
* Do the actual processing. Subclass has to override it.
* Return 0 if error.
*/
- virtual int ProcessGenerator();
+ virtual int DoPackage();
/**
* Initialize generator
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 15bcedd..4da903e 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -429,7 +429,7 @@ int main (int argc, char *argv[])
ostr.str().c_str());
}
- int res = cpackGenerator->ProcessGenerator();
+ int res = cpackGenerator->DoPackage();
if ( !res )
{
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,