summaryrefslogtreecommitdiff
path: root/Source/CPack/cmCPackCygwinSourceGenerator.h
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2010-08-11 19:48:39 +0200
committerBrad King <brad.king@kitware.com>2010-08-11 14:09:52 -0400
commitcd7b8a03f5403603da44432470f177601b5bf42b (patch)
tree4527678b66fe7a43415b538c989e061b0148fe8c /Source/CPack/cmCPackCygwinSourceGenerator.h
parent7c20f7b244c98b177e0eca13b3617c83d4691a77 (diff)
downloadcmake-cd7b8a03f5403603da44432470f177601b5bf42b.tar.gz
CPack: Refactor API in order to handle multi-file packages
The multi-argument CompressFiles(...) method has been replace by the no-argument PackageFiles() method and 3 more member variables. This will enable implemention of multi-package generators. Now each specific generator (which overloads PackageFiles()) may decide to change the name and/or the number of generated package files.
Diffstat (limited to 'Source/CPack/cmCPackCygwinSourceGenerator.h')
-rw-r--r--Source/CPack/cmCPackCygwinSourceGenerator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackCygwinSourceGenerator.h b/Source/CPack/cmCPackCygwinSourceGenerator.h
index 9817cf9acf..9d98a9b951 100644
--- a/Source/CPack/cmCPackCygwinSourceGenerator.h
+++ b/Source/CPack/cmCPackCygwinSourceGenerator.h
@@ -31,8 +31,7 @@ public:
protected:
const char* GetPackagingInstallPrefix();
virtual int InitializeInternal();
- int CompressFiles(const char* outFileName, const char* toplevel,
- const std::vector<std::string>& files);
+ int PackageFiles();
virtual const char* GetOutputExtension();
std::string InstallPrefix;
std::string OutputExtension;