]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/makeall.bat
optimization for faster execution: don't use wxString::Replace() all the times a...
[wxWidgets.git] / distrib / msw / tmake / makeall.bat
CommitLineData
f2071dda
VZ
1@echo off
2rem File: makeall.bat
3rem Purpose: create wxWindows makefiles for all compilers
4rem Author: Vadim Zeitlin
5rem Created: 14.07.99
6rem Copyright: (c) 1999 Vadim Zeitlin
6442cf6b 7rem Licence: wxWindows Licence
f2071dda
VZ
8rem Version: $Id$
9rem
10rem Makefile to create the makefiles for all compilers from the templates using
11rem tmake. The environment variable WX or WXWIN should be defined and contain
12rem the root directory of wxWindows installation. TMAKE program should be in
13rem path or, alternatively, TMAKE environment variable should be set.
14
15if "x%WX%" == "x" goto skip
16set WXDIR=%WX%
17goto ok
18
19:skip
20if "x%WXWIN%" == "x" goto no_wx
21set WXDIR=%WXWIN%
22goto ok
23
24:no_wx
25echo "Please set WX environment variable!"
26goto end
27
28:ok
dfee19ed
VZ
29rem Let's assume that you have tmake in your PATH but let override it with
30rem TMAKE env var
563e3ecb 31set TM=call tmake
f2071dda
VZ
32if "x%TMAKE%" == "x" goto skip2
33set TM=%TMAKE%
34
35:skip2
36
37rem this loop just doesn't want to work under command.com and cmd.exe and
38rem 4nt.exe, so I preferred to unroll it.
39rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
dfee19ed
VZ
40echo Generating for Visual C++ 6.0 wxBase C++ (32 bits)...
41%TM% -t basevc wxwin.pro -o %WXDIR%\src\msw\makebase.vc
42echo Generating for Visual C++ 6.0 wxWindows.dsp
43%TM% -t vc6msw wxwin.pro -o %WXDIR%\src\wxWindows.dsp
44echo Generating for Visual C++ 6.0 wxUniv.dsp
45%TM% -t vc6univ wxwin.pro -o %WXDIR%\src\wxUniv.dsp
46echo Generating for Visual C++ 6.0 wxBase.dsp
47%TM% -t vc6base wxwin.pro -o %WXDIR%\src\wxBase.dsp
f2071dda 48echo Generating for Visual C++ 4.0...
dfee19ed 49%TM% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
f2071dda 50echo Generating for Borland C++ (32 bits)...
dfee19ed 51%TM% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
95f102ab 52%TM% -t b32base wxwin.pro -o %WXDIR%\src\msw\makebase.b32
f2071dda 53echo Generating for Borland C++ (16 bits)...
dfee19ed 54%TM% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
f2071dda 55echo Generating for Cygwin/Mingw32
dfee19ed 56%TM% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
f2071dda 57echo Generating for Watcom C++...
dfee19ed 58%TM% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
f56b8330 59echo Generating for Unix and Configure...
dfee19ed
VZ
60%TM% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst
61%TM% -t mgl wxwin.pro -o %WXDIR%\src\mgl\files.lst
62%TM% -t micro wxwin.pro -o %WXDIR%\src\microwin\files.lst
63%TM% -t univ wxwin.pro -o %WXDIR%\src\univ\files.lst
64%TM% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst
65%TM% -t mac wxwin.pro -o %WXDIR%\src\mac\files.lst
66%TM% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst
67%TM% -t x11 wxwin.pro -o %WXDIR%\src\x11\files.lst
68%TM% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst
f2071dda 69:end