diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-05 13:29:01 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-06-05 13:29:01 +0200 |
commit | 1828196f73a66ef0e4594cdf32c6652149f8b3f8 (patch) | |
tree | c6cb6bc88ac4c7e7d2382d7d179de22a405625de /win | |
parent | 29ed04cb6d8e930c2b2bad7baf4cdae02cf712cd (diff) | |
download | mariadb-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.txt | 9 |
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) + |