mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
f0ee8496d2
Add new target win_package, that produces a) light ZIP (no test suite, no sql-bench, no debugsymbols) b) debug symbols ZIP
11 lines
404 B
CMake
11 lines
404 B
CMake
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()
|