]> git.saurik.com Git - wxWidgets.git/blame - wxPython/b.bat
Added wxDbTable::SetOrderByColNums() function
[wxWidgets.git] / wxPython / b.bat
CommitLineData
c368d904
RD
1@echo off
2setlocal
3
4set FLAGS=USE_SWIG=1 IN_CVS_TREE=1
5
6
7rem Use non-default python?
8iff "%1" == "15" .or. "%1" == "20" then
9 set SETUP=c:\tools\python%1%\python.exe -u setup.py
10 shift
11else
12 set SETUP=python -u setup.py
13endiff
14
15
16
17rem "c" --> clean
18iff "%1" == "c" then
19 shift
20 set CMD=%SETUP% %FLAGS% clean
21 set OTHERCMD=del wxPython\*.pyd
22
23rem just remove the *.pyd's
24elseiff "%1" == "d" then
25 shift
26 set CMD=del wxPython\*.pyd
27
28rem "i" --> install
29elseiff "%1" == "i" then
30 shift
31 set CMD=%SETUP% build install
32
33rem "s" --> source dist
34elseiff "%1" == "s" then
35 shift
36 set CMD=%SETUP sdist
37
38rem "f" --> FINAL
39elseiff "%1" == "f" then
40 shift
41 set CMD=%SETUP% %FLAGS% FINAL=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
42
43rem (no command arg) --> normal build for development
44else
45 set CMD=%SETUP% %FLAGS% HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
46endiff
47
48
49
50echo %CMD%
51%CMD%
52
53iff "%OTHERCMD%" != "" then
185d7c3e 54 echo %OTHERCMD%
c368d904
RD
55 %OTHERCMD%
56endiff
57