]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/tmake/makeall.bat
fix for building in a directory with a long name (patch 534399)
[wxWidgets.git] / distrib / msw / tmake / makeall.bat
... / ...
CommitLineData
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
7rem Version: $Id$
8rem
9rem Makefile to create the makefiles for all compilers from the templates using
10rem tmake. The environment variable WX or WXWIN should be defined and contain
11rem the root directory of wxWindows installation. TMAKE program should be in
12rem path or, alternatively, TMAKE environment variable should be set.
13
14rem set tmakecmd=E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake
15Rem set tmakecmd=d:\programs\tmake\bin\tmake
16Rem Let's assume that you have tmake in your PATH
17set tmakecmd=tmake
18
19if "x%WX%" == "x" goto skip
20set WXDIR=%WX%
21goto ok
22
23:skip
24if "x%WXWIN%" == "x" goto no_wx
25set WXDIR=%WXWIN%
26goto ok
27
28:no_wx
29echo "Please set WX environment variable!"
30goto end
31
32:ok
33set TM=tmake
34if "x%TMAKE%" == "x" goto skip2
35set TM=%TMAKE%
36
37:skip2
38
39rem this loop just doesn't want to work under command.com and cmd.exe and
40rem 4nt.exe, so I preferred to unroll it.
41rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
42
43echo Generating for for Visual C++ 6.0 wxBase C++ (32 bits)...
44%tmakecmd% -t basevc wxwin.pro -o %WXDIR%\src\msw\makebase.vc
45echo Generating for for Visual C++ 6.0 wxWindows.dsp
46%tmakecmd% -t vc6msw wxwin.pro -o %WXDIR%\src\wxWindows.dsp
47echo Generating for for Visual C++ 6.0 wxUniv.dsp
48%tmakecmd% -t vc6univ wxwin.pro -o %WXDIR%\src\wxUniv.dsp
49echo Generating for for Visual C++ 6.0 wxBase.dsp
50%tmakecmd% -t vc6base wxwin.pro -o %WXDIR%\src\wxBase.dsp
51echo Generating for Visual C++ 4.0...
52%tmakecmd% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
53echo Generating for Borland C++ (32 bits)...
54%tmakecmd% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
55echo Generating for Visual C++ 1.52...
56%tmakecmd% -t dos wxwin.pro -o %WXDIR%\src\msw\makefile.dos
57echo Generating for Borland C++ (16 bits)...
58%tmakecmd% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
59echo Generating for Cygwin/Mingw32
60%tmakecmd% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
61echo Generating for Symantec C++...
62%tmakecmd% -t sc wxwin.pro -o %WXDIR%\src\msw\makefile.sc
63echo Generating for Watcom C++...
64%tmakecmd% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
65echo Generating for Unix and Configure...
66%tmakecmd% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst
67%tmakecmd% -t mgl wxwin.pro -o %WXDIR%\src\mgl\files.lst
68%tmakecmd% -t micro wxwin.pro -o %WXDIR%\src\microwin\files.lst
69%tmakecmd% -t univ wxwin.pro -o %WXDIR%\src\univ\files.lst
70%tmakecmd% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst
71%tmakecmd% -t mac wxwin.pro -o %WXDIR%\src\mac\files.lst
72%tmakecmd% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst
73%tmakecmd% -t x11 wxwin.pro -o %WXDIR%\src\x11\files.lst
74%tmakecmd% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst
75:end