CMake Nightly Date Stamp
[kiteware-cmake.git] / Source / CPack / cmCPackBundleGenerator.h
blob072d14f857ef58720ac1e4afa336784933ed3319
1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #pragma once
5 #include "cmConfigure.h" // IWYU pragma: keep
7 #include <string>
9 #include "cmCPackDragNDropGenerator.h"
10 #include "cmCPackGenerator.h"
12 /** \class cmCPackBundleGenerator
13 * \brief A generator for OSX bundles
15 * Based on Gimp.app
17 class cmCPackBundleGenerator : public cmCPackDragNDropGenerator
19 public:
20 cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackDragNDropGenerator);
22 cmCPackBundleGenerator();
23 ~cmCPackBundleGenerator() override;
25 protected:
26 int InitializeInternal() override;
27 const char* GetPackagingInstallPrefix() override;
28 int ConstructBundle();
29 int SignBundle(const std::string& src_dir);
30 int PackageFiles() override;
31 bool SupportsComponentInstallation() const override;
33 std::string InstallPrefix;