2009-04-06 17:58 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)

+ harbour/contrib/hbqt/generator/rebuild_hbqt.bat
    + Added batch to generate fresh hbqt sources from headers
This commit is contained in:
Francesco Saverio Giudice
2009-04-06 15:57:09 +00:00
parent 00c554e0f6
commit 5180f8904e
2 changed files with 63 additions and 0 deletions

View File

@@ -8,6 +8,10 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-04-06 17:58 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com)
+ harbour/contrib/hbqt/generator/rebuild_hbqt.bat
+ Added batch to generate fresh hbqt sources from headers
2009-04-06 17:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
* renamed --hbbindir --hblibdir --hbincdir parameters to

View File

@@ -0,0 +1,59 @@
@echo off
rem $Id$
rem
IF %HB_COMPILER%.==. GOTO ERR_ENV
echo. Making hbqtgen ...
hbmk2.exe hbqtgen
echo. done
echo.
echo. Cleaning gensource and doc folders ...
del ..\gensource\*.prg > nul
del ..\gensource\*.cpp > nul
del ..\gensource\*.h > nul
del ..\gensource\Makefile_gen > nul
del ..\doc\*.txt > nul
echo. done
echo.
echo. Generating gensource and doc files
hbqtgen.exe qt45.qtp > hbqtgen.log 2>&1
IF NOT ERRORLEVEL 0 GOTO SHOW_ERROR
echo. done
echo.
echo. Cleaning hbqt root files ...
del ..\*.prg > nul
del ..\*.cpp > nul
del ..\*.h > nul
del ..\Makefile_gen. > nul
echo. done
echo.
echo. Copying source files ...
copy ..\gensource\*.prg .. > nul
copy ..\gensource\*.cpp .. > nul
copy ..\gensource\*.h .. > nul
copy ..\gensource\Makefile_gen .. > nul
echo. done
echo.
echo. Change folder to hbqt root
cd ..
echo. completed.
echo.
echo. Please now rebuild SVN using command:
echo. make_gnu install
echo.
GOTO END_BATCH
:SHOW_ERROR
echo. There is an error on building hbqt.
echo. Please check hbqtgen.log file
GOTO END_BATCH
:ERR_ENV
echo. Please set correctly your environment:
echo. set HB_COMPILER=mingw
echo. and your PATH, then restart this batch.
:END_BATCH