summaryrefslogtreecommitdiffstats
path: root/Modules/CPackIFW.cmake
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2017-08-08 16:57:24 (GMT)
committerKonstantin Podsvirov <konstantin@podsvirov.pro>2017-08-09 21:20:11 (GMT)
commit45623e7255b62c4cd17c01a687130f05deeaac1d (patch)
treef831e8eea5dc3672b6e8649ca2fa9fe4e93a5d39 /Modules/CPackIFW.cmake
parent92d16be9e6578600a273b338d003eb8908e5ed4e (diff)
downloadCMake-45623e7255b62c4cd17c01a687130f05deeaac1d.zip
CMake-45623e7255b62c4cd17c01a687130f05deeaac1d.tar.gz
CMake-45623e7255b62c4cd17c01a687130f05deeaac1d.tar.bz2
CPackIFW: Add CPACK_IFW_PACKAGE_FILE_EXTENSION variable
Add CPACK_IFW_PACKAGE_FILE_EXTENSION variable to customize target binary format.
Diffstat (limited to 'Modules/CPackIFW.cmake')
-rw-r--r--Modules/CPackIFW.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake
index c1cb52f..0210410 100644
--- a/Modules/CPackIFW.cmake
+++ b/Modules/CPackIFW.cmake
@@ -221,6 +221,19 @@
# You can use :command:`cpack_ifw_add_package_resources` command to resolve
# relative paths.
#
+# .. variable:: CPACK_IFW_PACKAGE_FILE_EXTENSION
+#
+# The target binary extension.
+#
+# On Linux, the name of the target binary is automatically extended with
+# '.run', if you do not specify the extension.
+#
+# On Windows, the target is created as an application with the extension
+# '.exe', which is automatically added, if not supplied.
+#
+# On Mac, the target is created as an DMG disk image with the extension
+# '.dmg', which is automatically added, if not supplied.
+#
# .. variable:: CPACK_IFW_REPOSITORIES_ALL
#
# The list of remote repositories.