summaryrefslogtreecommitdiffstats
path: root/make.bat
blob: c867915bd9a5223cd7e7cd47ee63645c54bb520f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
REM make script for Microsoft Visual C++

if "%QTDIR%"=="" goto ERROR

REM use perl to create the config file
perl wintools\make.pl

type makeconfig Makefile.win.in >Makefile
type makeconfig src\Makefile.in >src\Makefile
type makeconfig examples\Makefile.win.in >examples\Makefile
type makeconfig doc\Makefile.win.in >doc\Makefile
type src\doxygen.pro.in | sed "s/\$extraopts/release/g" >src\doxygen.pro
type src\doxytag.pro.in | sed "s/\$extraopts/release/g" >src\doxytag.pro
type src\doxysearch.pro.in | sed "s/\$extraopts/release/g" >src\doxysearch.pro

nmake
goto END

:ERROR
echo The QTDIR environment variable is not set! See the INSTALL file for more info. 
goto END

:END