Batch files to build Harbour

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Batch files to build Harbour

Post by Antonio Linares »

checkout.bat (To download the Harbour files from its repository)

Code: Select all

svn.exe co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk harbour
 
svn.exe is available from here:
http://www.fivetechsoft.com/files/software/svn.zip

go.bat (for Borland C)

Code: Select all

set HB_COMPILER=bcc
set path=c:\bcc582\bin
win-make.exe
 
go64.bat (for Microsoft VC64)

Code: Select all

set HB_COMPILER=msvc64
set path=c:\vc64\bin
set include=c:\vc64\include
set lib=c:\vc64\lib
win-make.exe
 
gog.bat (for MinGW gcc)

Code: Select all

set HB_COMPILER=mingw
set path=c:\mingw\bin
win-make.exe
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Batch files to build Harbour

Post by Antonio Linares »

Batch file to build Harbour with QT support, in order to build HBIDE:

First download QT from here:
http://get.qt.nokia.com/qtsdk/qt-sdk-wi ... 010.04.exe

gow.bat

Code: Select all

set HB_COMPILER=mingw
set path=c:\Qt\2010.04\mingw\bin
set HB_WITH_QT=c:\Qt\2010.04\qt\include
win-make.exe
 
change "win-make.exe clean" above, to clean it

To build HBIDE go to harbour\contrib\hbide and do:
..\..\bin\win\mingw\hbmk2 hbide.hbp
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply