diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-07-23 01:35:19 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-07-23 01:49:14 +0000 |
| commit | 3bd48d3cd23247a09ddce6b64cd4922ef1639108 (patch) | |
| tree | df6ea4f7aa55a1c3741850bc0177ea194cbb470d /CMakeScripts/Dist.cmake | |
| parent | cmake: Add 'dist-win-all' target (diff) | |
| download | inkscape-3bd48d3cd23247a09ddce6b64cd4922ef1639108.tar.gz inkscape-3bd48d3cd23247a09ddce6b64cd4922ef1639108.zip | |
delete old 7z archive, otherwise we try to add to it
Diffstat (limited to 'CMakeScripts/Dist.cmake')
| -rw-r--r-- | CMakeScripts/Dist.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeScripts/Dist.cmake b/CMakeScripts/Dist.cmake index eece0122d..f54deabc4 100644 --- a/CMakeScripts/Dist.cmake +++ b/CMakeScripts/Dist.cmake @@ -47,12 +47,14 @@ if(WIN32) # default target with very good but slow compression (needs approx. 10 GB RAM) add_custom_target(dist-win-7z + COMMAND ${CMAKE_COMMAND} -E remove "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.7z" COMMAND ${7z} a -mx9 -md512m -mfb256 "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.7z" "${CMAKE_INSTALL_PREFIX}") # fast target with moderate compression add_custom_target(dist-win-7z-fast + COMMAND ${CMAKE_COMMAND} -E remove "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.7z" COMMAND ${7z} a "${CMAKE_BINARY_DIR}/${INKSCAPE_DIST_PREFIX}.7z" "${CMAKE_INSTALL_PREFIX}") |
