]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/zippatch.bat
Fix wxLog compilation with wxUSE_THREADS==0.
[wxWidgets.git] / distrib / msw / zippatch.bat
... / ...
CommitLineData
1@echo off
2rem Zip up a patch file
3
4if "%wxwin%" == "" goto usage
5
6set src=%wxwin%
7set dest=%src%\deliver
8
9Rem Set this to the required wxWidgets version
10set wxversion=2.3.3
11Rem Set this to the required patch version
12set version=01
13
14set patchname=wxWidgets-%wxversion%-patch-%version%.zip
15
16if "%src" == "" goto usage
17if "%dest" == "" goto usage
18echo About to create %dest%\%patchname%
19echo From %src
20echo To %dest
21echo CTRL-C if this is not correct.
22pause
23
24erase /Q /E %dest%\wxWidgets-*-patch*.zip
25
26cd %src%
27echo Zipping...
28
29zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
30echo wxWidgets patch archived.
31
32cd %dest
33
34goto end
35
36:usage
37echo wxWidgets patch distribution.
38echo.
39echo Usage: zippatch
40echo You must set WXWIN appropriately before calling this script.
41
42:end