summaryrefslogtreecommitdiff
path: root/win/packaging/CPackZIPDebugInfoConfig.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-09-14 18:53:27 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-09-14 20:54:54 +0100
commitf0ee8496d2ff03a9b36739ab941eb9b06b87fea1 (patch)
tree1769210f2f433131192f80e0c2308a1e9b1dacd8 /win/packaging/CPackZIPDebugInfoConfig.cmake
parent6b2da933592b54616467d08313fcb1d958fc67e4 (diff)
downloadmariadb-git-f0ee8496d2ff03a9b36739ab941eb9b06b87fea1.tar.gz
MDEV-15088 Lighter version of Windows Zip distributions
Add new target win_package, that produces a) light ZIP (no test suite, no sql-bench, no debugsymbols) b) debug symbols ZIP
Diffstat (limited to 'win/packaging/CPackZIPDebugInfoConfig.cmake')
-rw-r--r--win/packaging/CPackZIPDebugInfoConfig.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/packaging/CPackZIPDebugInfoConfig.cmake b/win/packaging/CPackZIPDebugInfoConfig.cmake
new file mode 100644
index 00000000000..674c1675399
--- /dev/null
+++ b/win/packaging/CPackZIPDebugInfoConfig.cmake
@@ -0,0 +1,6 @@
+INCLUDE(CPackConfig.cmake)
+set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-debugsymbols")
+set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
+set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)
+SET(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY ON)
+SET(CPACK_COMPONENTS_ALL Debuginfo)