summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-06-05 13:29:01 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2020-06-05 13:29:01 +0200
commit1828196f73a66ef0e4594cdf32c6652149f8b3f8 (patch)
treec6cb6bc88ac4c7e7d2382d7d179de22a405625de /win
parent29ed04cb6d8e930c2b2bad7baf4cdae02cf712cd (diff)
downloadmariadb-git-1828196f73a66ef0e4594cdf32c6652149f8b3f8.tar.gz
Windows, build tweak.
Allow targets for building "noinstall" zip, and debuginfo zip.
Diffstat (limited to 'win')
-rw-r--r--win/packaging/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/win/packaging/CMakeLists.txt b/win/packaging/CMakeLists.txt
index 130f74118ca..1935874995f 100644
--- a/win/packaging/CMakeLists.txt
+++ b/win/packaging/CMakeLists.txt
@@ -212,10 +212,17 @@ IF(SIGNCODE)
ENDIF()
ADD_CUSTOM_TARGET(
- win_package
+ win_package_zip
${SIGN_COMMAND}
COMMAND ${CMAKE_CPACK_COMMAND} ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipConfig.cmake
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
+)
+
+ADD_CUSTOM_TARGET(
+ win_package_debuginfo
COMMAND ${CMAKE_CPACK_COMMAND} ${CPACK_CONFIG_PARAM} --config ${CMAKE_CURRENT_SOURCE_DIR}/CPackZipDebugInfoConfig.cmake
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
+ADD_CUSTOM_TARGET(win_package DEPENDS win_package_zip win_package_debuginfo)
+