2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc.
|
2008-06-18 17:53:29 +04:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2008-06-18 17:53:29 +04:00
|
|
|
|
2009-09-28 19:43:28 +04: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 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:
|
2009-01-22 21:56:13 +03:00
|
|
|
virtual int InitializeInternal();
|
2008-06-18 17:53:29 +04:00
|
|
|
virtual const char* GetPackagingInstallPrefix();
|
2010-08-11 21:48:39 +04:00
|
|
|
int PackageFiles();
|
2011-03-28 19:11:27 +04:00
|
|
|
bool SupportsComponentInstallation() const;
|
2008-06-18 17:53:29 +04:00
|
|
|
|
|
|
|
std::string InstallPrefix;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|