summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/Release.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/Release/Release.cmake')
-rw-r--r--Utilities/Release/Release.cmake12
1 files changed, 10 insertions, 2 deletions
diff --git a/Utilities/Release/Release.cmake b/Utilities/Release/Release.cmake
index dadec45..943cb6d 100644
--- a/Utilities/Release/Release.cmake
+++ b/Utilities/Release/Release.cmake
@@ -63,7 +63,15 @@ ENDIF(WIN32)
IF (NSIS_MAKENSIS AND WINZIP_WZZIP)
# build the NSI
ADD_CUSTOM_TARGET( release
- ${CMAKE_COMMAND} -P
- ${PROJECT_BINARY_DIR}/Utilities/Release/MakeRelease.cmake
+ ${CMAKE_COMMAND} -DBUILD_NSIW=1 -DTAG_TREE=1 -DBUILD_WINZIP=1
+ -P ${PROJECT_BINARY_DIR}/Utilities/Release/MakeRelease.cmake
+ )
+ ADD_CUSTOM_TARGET( release_nsiw
+ ${CMAKE_COMMAND} -DBUILD_NSIW=1
+ -P ${PROJECT_BINARY_DIR}/Utilities/Release/MakeRelease.cmake
+ )
+ ADD_CUSTOM_TARGET( release_winzip
+ ${CMAKE_COMMAND} -DBUILD_WINZIP=1
+ -P ${PROJECT_BINARY_DIR}/Utilities/Release/MakeRelease.cmake
)
ENDIF (NSIS_MAKENSIS AND WINZIP_WZZIP)