2008-06-18 17:53:29 +04:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: CMake - Cross-Platform Makefile Generator
|
|
|
|
Module: $RCSfile$
|
|
|
|
Language: C++
|
|
|
|
Date: $Date$
|
|
|
|
Version: $Revision$
|
|
|
|
|
|
|
|
Copyright (c) 2002 Kitware, Inc. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
|
|
|
|
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
|
|
|
|
|
|
|
#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:
|
|
|
|
cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackGenerator);
|
|
|
|
|
|
|
|
cmCPackBundleGenerator();
|
|
|
|
virtual ~cmCPackBundleGenerator();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual const char* GetPackagingInstallPrefix();
|
|
|
|
int CompressFiles(const char* outFileName, const char* toplevel,
|
|
|
|
const std::vector<std::string>& files);
|
|
|
|
|
|
|
|
std::string InstallPrefix;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|