summaryrefslogtreecommitdiffstats
path: root/CMakeCPackOptions.cmake.in
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-02-22 14:20:33 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2015-02-22 14:20:33 (GMT)
commit135febf069e7ff5305a3729b81171933ec89dc90 (patch)
tree09e1c4495a7b1135b1cb70c2d69702906b408c2f /CMakeCPackOptions.cmake.in
parente6731f486e466ddd58550851fb935dbda7939cac (diff)
downloadCMake-135febf069e7ff5305a3729b81171933ec89dc90.zip
CMake-135febf069e7ff5305a3729b81171933ec89dc90.tar.gz
CMake-135febf069e7ff5305a3729b81171933ec89dc90.tar.bz2
CPackWIX: Enhance CMake CPack WIX generated installer.
Diffstat (limited to 'CMakeCPackOptions.cmake.in')
-rw-r--r--CMakeCPackOptions.cmake.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in
index 57ed4ca..cc8f5e9 100644
--- a/CMakeCPackOptions.cmake.in
+++ b/CMakeCPackOptions.cmake.in
@@ -87,4 +87,26 @@ if("${CPACK_GENERATOR}" STREQUAL "WIX")
if(patch MATCHES "^[0-9]+$" AND patch LESS 65535)
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}.${patch}")
endif()
+
+ set(CPACK_WIX_PROPERTY_ARPURLINFOABOUT "http://www.cmake.org")
+
+ set(CPACK_WIX_PROPERTY_ARPCONTACT "@CPACK_PACKAGE_CONTACT@")
+
+ set(CPACK_WIX_PROPERTY_ARPCOMMENTS
+ "CMake is a cross-platform, open-source build system."
+ )
+
+ set(CPACK_WIX_PRODUCT_ICON
+ "@CMake_SOURCE_DIR@/Utilities/Release/CMakeLogo.ico"
+ )
+
+ set_property(INSTALL "@CMAKE_DOC_DIR@/html/index.html" PROPERTY
+ CPACK_START_MENU_SHORTCUTS "CMake Documentation"
+ )
+
+ set_property(INSTALL "cmake.org.html" PROPERTY
+ CPACK_START_MENU_SHORTCUTS "CMake Web Site"
+ )
+
+ set(CPACK_WIX_LIGHT_EXTRA_FLAGS "-dcl:high")
endif()