2009-09-28 15:43:28 +00:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc.
|
2008-06-18 13:53:29 +00:00
|
|
|
|
2009-09-28 15:43:28 +00:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2008-06-18 13:53:29 +00:00
|
|
|
|
2009-09-28 15:43:28 +00:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2008-06-18 13:53:29 +00:00
|
|
|
|
|
|
|
#ifndef cmCPackBundleGenerator_h
|
|
|
|
#define cmCPackBundleGenerator_h
|
|
|
|
|
2009-01-22 17:12:44 +00:00
|
|
|
#include "cmCPackDragNDropGenerator.h"
|
2008-06-18 13:53:29 +00:00
|
|
|
|
|
|
|
/** \class cmCPackBundleGenerator
|
|
|
|
* \brief A generator for OSX bundles
|
|
|
|
*
|
|
|
|
* Based on Gimp.app
|
|
|
|
*/
|
2009-01-22 17:12:44 +00:00
|
|
|
class cmCPackBundleGenerator : public cmCPackDragNDropGenerator
|
2008-06-18 13:53:29 +00:00
|
|
|
{
|
|
|
|
public:
|
2009-01-22 19:23:44 +00:00
|
|
|
cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackDragNDropGenerator);
|
2008-06-18 13:53:29 +00:00
|
|
|
|
|
|
|
cmCPackBundleGenerator();
|
|
|
|
virtual ~cmCPackBundleGenerator();
|
|
|
|
|
|
|
|
protected:
|
2009-01-22 18:56:13 +00:00
|
|
|
virtual int InitializeInternal();
|
2008-06-18 13:53:29 +00:00
|
|
|
virtual const char* GetPackagingInstallPrefix();
|
2010-08-11 17:48:39 +00:00
|
|
|
int PackageFiles();
|
2011-03-28 15:11:27 +00:00
|
|
|
bool SupportsComponentInstallation() const;
|
2008-06-18 13:53:29 +00:00
|
|
|
|
|
|
|
std::string InstallPrefix;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|