]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/msw/.mymake.btm
Added a Python port of the OGL library, deprecated the C++ wrapped version.
[wxWidgets.git] / wxPython / distrib / msw / .mymake.btm
CommitLineData
d14a1e28
RD
1@echo off
2setlocal
3
4set COMMON_FLAGS=OFFICIAL_BUILD=1 SHARED=1 MONOLITHIC=0 USE_OPENGL=1
5set HYBRID_FLAGS=DEBUG_FLAG=1 CXXFLAGS=/D__NO_VC_CRTDBG__ WXDEBUGFLAG=h
6set MAKE_FLAGS=%COMMON_FLAGS%
7
8
9REM set flags based on build type if given
10iff "%1" == "debug" then
11 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=debug UNICODE=0 MSLU=0
12 shift
13
14elseiff "%1" == "hybrid" then
15 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release %HYBRID_FLAGS% UNICODE=0 MSLU=0
16 shift
17
18elseiff "%1" == "release" then
19 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release UNICODE=0 MSLU=0
20 shift
21
22elseiff "%1" == "debug-uni" then
23 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=debug UNICODE=1 MSLU=1
24 shift
25
26elseiff "%1" == "hybrid-uni" then
27 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release %HYBRID_FLAGS% UNICODE=1 MSLU=1
28 shift
29
30elseiff "%1" == "release-uni" then
31 set MAKE_FLAGS=%COMMON_FLAGS% BUILD=release UNICODE=1 MSLU=1
32 shift
33else
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 "----------------------------------------------"
43endiff
44
45
46REM now run nmake, echoing the command-line first
47echo nmake -f makefile.vc %MAKE_FLAGS% %$
48nmake -f makefile.vc %MAKE_FLAGS% %$
49
50REM quit with nmake's exit code
51@quit %?
52
53