summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackPackageMakerGenerator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-06-18 11:08:33 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-06-18 11:08:33 (GMT)
commite8825d320bd12ab2bc1ab9f262dc81125c10173e (patch)
tree88f79b79ff3f6deb9e80f35df7e9d15e043c4353 /Source/CPack/cmCPackPackageMakerGenerator.h
parentcb613406bcc8b229d10f4e86e13b46d8b7e81770 (diff)
downloadCMake-e8825d320bd12ab2bc1ab9f262dc81125c10173e.zip
CMake-e8825d320bd12ab2bc1ab9f262dc81125c10173e.tar.gz
CMake-e8825d320bd12ab2bc1ab9f262dc81125c10173e.tar.bz2
BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch.
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.h')
-rw-r--r--Source/CPack/cmCPackPackageMakerGenerator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.h b/Source/CPack/cmCPackPackageMakerGenerator.h
index 2be8a2c..37f8f0e 100644
--- a/Source/CPack/cmCPackPackageMakerGenerator.h
+++ b/Source/CPack/cmCPackPackageMakerGenerator.h
@@ -52,7 +52,12 @@ protected:
virtual const char* GetOutputExtension() { return ".dmg"; }
virtual const char* GetOutputPostfix() { return "darwin"; }
- bool CopyCreateResourceFile(const char* name);
+ // Copies or creates the resource file with the given name to the
+ // package or package staging directory dirName. The variable
+ // CPACK_RESOURCE_FILE_${NAME} (where ${NAME} is the uppercased
+ // version of name) specifies the input file to use for this file,
+ // which will be configured via ConfigureFile.
+ bool CopyCreateResourceFile(const char* name, const char *dirName);
bool CopyResourcePlistFile(const char* name, const char* outName = 0);
// Run PackageMaker with the given command line, which will (if