2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2008-06-18 17:53:29 +04:00
|
|
|
#ifndef cmCPackBundleGenerator_h
|
|
|
|
#define cmCPackBundleGenerator_h
|
|
|
|
|
2009-01-22 20:12:44 +03:00
|
|
|
#include "cmCPackDragNDropGenerator.h"
|
2008-06-18 17:53:29 +04:00
|
|
|
|
|
|
|
/** \class cmCPackBundleGenerator
|
|
|
|
* \brief A generator for OSX bundles
|
|
|
|
*
|
|
|
|
* Based on Gimp.app
|
|
|
|
*/
|
2009-01-22 20:12:44 +03:00
|
|
|
class cmCPackBundleGenerator : public cmCPackDragNDropGenerator
|
2008-06-18 17:53:29 +04:00
|
|
|
{
|
|
|
|
public:
|
2009-01-22 22:23:44 +03:00
|
|
|
cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackDragNDropGenerator);
|
2008-06-18 17:53:29 +04:00
|
|
|
|
|
|
|
cmCPackBundleGenerator();
|
|
|
|
virtual ~cmCPackBundleGenerator();
|
|
|
|
|
|
|
|
protected:
|
2016-07-22 17:42:37 +03:00
|
|
|
int InitializeInternal() CM_OVERRIDE;
|
|
|
|
const char* GetPackagingInstallPrefix() CM_OVERRIDE;
|
2014-10-28 21:15:55 +03:00
|
|
|
int ConstructBundle();
|
|
|
|
int SignBundle(const std::string& src_dir);
|
2016-07-22 17:42:37 +03:00
|
|
|
int PackageFiles() CM_OVERRIDE;
|
|
|
|
bool SupportsComponentInstallation() const CM_OVERRIDE;
|
2008-06-18 17:53:29 +04:00
|
|
|
|
|
|
|
std::string InstallPrefix;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|