]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/msw/.mymake.btm
don't use deprecated GetTextExtent() overload
[wxWidgets.git] / wxPython / distrib / msw / .mymake.btm
1 @echo off
2 setlocal
3
4 set COMMON_FLAGS=OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=1 USE_OPENGL=1 USE_GDIPLUS=1
5 set HYBRID_FLAGS=DEBUG_FLAG=1 CXXFLAGS=/D__NO_VC_CRTDBG__ WXDEBUGFLAG=h
6 set MAKE_FLAGS=%COMMON_FLAGS%
7
8
9 REM set flags based on build type if given
10 iff "%1" == "debug" then
11 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=debug UNICODE=0 MSLU=0
12 shift
13
14 elseiff "%1" == "hybrid" then
15 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release %HYBRID_FLAGS% UNICODE=0 MSLU=0
16 shift
17
18 elseiff "%1" == "release" then
19 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release UNICODE=0 MSLU=0
20 shift
21
22 elseiff "%1" == "debug-uni" then
23 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=debug UNICODE=1 MSLU=1
24 shift
25
26 elseiff "%1" == "hybrid-uni" then
27 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release %HYBRID_FLAGS% UNICODE=1 MSLU=1
28 shift
29
30 elseiff "%1" == "release-uni" then
31 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release UNICODE=1 MSLU=1
32 shift
33 else
34 echo "----------------------------------------------"
35 echo " Build type not specified"
36 echo " debug"
37 echo " hybrid"
38 echo " release"
39 echo " debug-uni"
40 echo " hybrid-uni"
41 echo " release-uni"
42 echo "----------------------------------------------"
43 endiff
44
45
46 REM now run nmake, echoing the command-line first
47 echo nmake -f makefile.vc %MAKE_FLAGS% %$
48 nmake -f makefile.vc %MAKE_FLAGS% %$
49
50 REM quit with nmake's exit code
51 @quit %?
52
53