1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCPackOSXX11Generator.h,v $
6 Date: $Date: 2007-11-05 21:55:45 $
7 Version: $Revision: 1.5 $
9 Copyright (c) 2002 Kitware, Inc. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
18 #ifndef cmCPackOSXX11Generator_h
19 #define cmCPackOSXX11Generator_h
21 #include "cmCPackGenerator.h"
23 /** \class cmCPackOSXX11Generator
24 * \brief A generator for OSX X11 modules
28 class cmCPackOSXX11Generator
: public cmCPackGenerator
31 cmCPackTypeMacro(cmCPackOSXX11Generator
, cmCPackGenerator
);
36 cmCPackOSXX11Generator();
37 virtual ~cmCPackOSXX11Generator();
40 virtual int InitializeInternal();
41 int CompressFiles(const char* outFileName
, const char* toplevel
,
42 const std::vector
<std::string
>& files
);
43 virtual const char* GetPackagingInstallPrefix();
44 virtual const char* GetOutputExtension() { return ".dmg"; }
46 //bool CopyCreateResourceFile(const char* name, const char* dir);
47 bool CopyResourcePlistFile(const char* name
, const char* dir
,
48 const char* outputFileName
= 0, bool copyOnly
= false);
49 std::string InstallPrefix
;