2009-10-04 10:30:41 +03:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc.
|
2008-10-12 21:55:53 +03:00
|
|
|
|
2009-10-04 10:30:41 +03:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2008-10-12 21:55:53 +03:00
|
|
|
|
2009-10-04 10:30:41 +03: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-10-12 21:55:53 +03:00
|
|
|
|
|
|
|
#ifndef cmCPackBundleGenerator_h
|
|
|
|
#define cmCPackBundleGenerator_h
|
|
|
|
|
2009-02-07 16:14:30 +02:00
|
|
|
#include "cmCPackDragNDropGenerator.h"
|
2008-10-12 21:55:53 +03:00
|
|
|
|
|
|
|
/** \class cmCPackBundleGenerator
|
|
|
|
* \brief A generator for OSX bundles
|
|
|
|
*
|
|
|
|
* Based on Gimp.app
|
|
|
|
*/
|
2009-02-07 16:14:30 +02:00
|
|
|
class cmCPackBundleGenerator : public cmCPackDragNDropGenerator
|
2008-10-12 21:55:53 +03:00
|
|
|
{
|
|
|
|
public:
|
2009-02-07 16:14:30 +02:00
|
|
|
cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackDragNDropGenerator);
|
2008-10-12 21:55:53 +03:00
|
|
|
|
|
|
|
cmCPackBundleGenerator();
|
|
|
|
virtual ~cmCPackBundleGenerator();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual int InitializeInternal();
|
|
|
|
virtual const char* GetPackagingInstallPrefix();
|
2010-11-13 01:00:53 +02:00
|
|
|
int PackageFiles();
|
2011-06-19 15:41:06 +03:00
|
|
|
bool SupportsComponentInstallation() const;
|
2008-10-12 21:55:53 +03:00
|
|
|
|
|
|
|
std::string InstallPrefix;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|