Resync.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / CPack / cmCPackNSISGenerator.h
blobf307e6ad6f4ec9ab7a4be747618318d2cded8baf
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCPackNSISGenerator.h,v $
5 Language: C++
6 Date: $Date: 2007/11/05 21:55:45 $
7 Version: $Revision: 1.11 $
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 cmCPackNSISGenerator_h
19 #define cmCPackNSISGenerator_h
22 #include "cmCPackGenerator.h"
24 /** \class cmCPackNSISGenerator
25 * \brief A generator for NSIS files
27 * http://people.freebsd.org/~kientzle/libarchive/
29 class cmCPackNSISGenerator : public cmCPackGenerator
31 public:
32 cmCPackTypeMacro(cmCPackNSISGenerator, cmCPackGenerator);
34 /**
35 * Construct generator
37 cmCPackNSISGenerator();
38 virtual ~cmCPackNSISGenerator();
40 protected:
41 virtual int InitializeInternal();
42 void CreateMenuLinks( cmOStringStream& str,
43 cmOStringStream& deleteStr);
44 int CompressFiles(const char* outFileName, const char* toplevel,
45 const std::vector<std::string>& files);
46 virtual const char* GetOutputExtension() { return ".exe"; }
47 virtual const char* GetOutputPostfix() { return "win32"; }
49 bool GetListOfSubdirectories(const char* dir,
50 std::vector<std::string>& dirs);
53 #endif