mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
productbuild: Add new productbuild cpack generator.
This cpack generator basically replaces the obsolete PackageMaker generator.
This commit is contained in:
@@ -455,6 +455,7 @@ if(NOT CPACK_GENERATOR)
|
||||
option(CPACK_BINARY_DRAGNDROP "Enable to build OSX Drag And Drop package" OFF)
|
||||
option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages" OFF)
|
||||
option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages" OFF)
|
||||
option(CPACK_BINARY_PRODUCTBUILD "Enable to build productbuild packages" OFF)
|
||||
else()
|
||||
option(CPACK_BINARY_TZ "Enable to build TZ packages" ON)
|
||||
endif()
|
||||
@@ -483,6 +484,7 @@ if(NOT CPACK_GENERATOR)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_NSIS NSIS)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_OSXX11 OSXX11)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_PACKAGEMAKER PackageMaker)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_PRODUCTBUILD productbuild)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_RPM RPM)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_STGZ STGZ)
|
||||
cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_TBZ2 TBZ2)
|
||||
@@ -531,6 +533,7 @@ mark_as_advanced(
|
||||
CPACK_BINARY_NSIS
|
||||
CPACK_BINARY_OSXX11
|
||||
CPACK_BINARY_PACKAGEMAKER
|
||||
CPACK_BINARY_PRODUCTBUILD
|
||||
CPACK_BINARY_RPM
|
||||
CPACK_BINARY_STGZ
|
||||
CPACK_BINARY_TBZ2
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
#.rst:
|
||||
# CPackProductBuild
|
||||
# -----------------
|
||||
#
|
||||
# productbuild CPack generator (Mac OS X).
|
||||
#
|
||||
# Variables specific to CPack productbuild generator
|
||||
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
#
|
||||
# The following variable is specific to installers built on Mac
|
||||
# OS X using productbuild:
|
||||
#
|
||||
# .. variable:: CPACK_COMMAND_PRODUCTBUILD
|
||||
#
|
||||
# Path to the productbuild(1) command used to generate a product archive for
|
||||
# the OS X Installer or Mac App Store. This variable can be used to override
|
||||
# the automatically detected command (or specify its location if the
|
||||
# auto-detection fails to find it.)
|
||||
#
|
||||
# .. variable:: CPACK_COMMAND_PKGBUILD
|
||||
#
|
||||
# Path to the pkgbuild(1) command used to generate an OS X component package
|
||||
# on OS X. This variable can be used to override the automatically detected
|
||||
# command (or specify its location if the auto-detection fails to find it.)
|
||||
#
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2006-2012 Kitware, Inc.
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# 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.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
Reference in New Issue
Block a user