summaryrefslogtreecommitdiffstats
path: root/win/packaging/CPackZIPConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'win/packaging/CPackZIPConfig.cmake')
-rw-r--r--win/packaging/CPackZIPConfig.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/win/packaging/CPackZIPConfig.cmake b/win/packaging/CPackZIPConfig.cmake
new file mode 100644
index 00000000..5afbffbf
--- /dev/null
+++ b/win/packaging/CPackZIPConfig.cmake
@@ -0,0 +1,11 @@
+INCLUDE(CPackConfig.cmake)
+SET(CPACK_GENERATOR ZIP)
+set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
+set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)
+SET(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY ON)
+FOREACH(it DebugBinaries Debuginfo IniFiles Junk Test SqlBench)
+ list(FIND CPACK_COMPONENTS_ALL "${it}" index)
+ IF(index GREATER 0)
+ LIST(REMOVE_AT CPACK_COMPONENTS_ALL ${index})
+ ENDIF()
+ENDFOREACH()