Using hbmk2 to build mod_harbour !!!

238 views
Skip to first unread message

Antonio Linares

unread,
Oct 19, 2019, 3:35:18 AM10/19/19
to Harbour Users
modharbour.hbp

-hbdynvm
-olibharbour
-L..\..\lib\win\msvc64
-l-hbfship
-l-hbxpp

apache.prg

hbcurl.hbc
hbwin.hbc
hbhpdf.hbc
xhb.hbc
hbct.hbc

You should build Harbour this way (or similar)

call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
set HB_BUILD_MODE=c
set HB_USER_PRGFLAGS=-l-
set HB_BUILD_CONTRIBS=yes
set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include
set HB_WITH_CURL=c:\curl\include
del .\src\common\obj\win\msvc64\hbver.obj
del .\src\common\obj\win\msvc64\hbver_dyn.obj
del .\src\common\obj\win\msvc\hbverdsp.obj
win-make.exe


best regards

Antonio Linares
mod_harbour

Antonio Linares

unread,
Oct 19, 2019, 9:25:08 AM10/19/19
to Harbour Users

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/tE9r7u9lDts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/e7121180-07f6-492e-a189-66d0b51ea71b%40googlegroups.com.


--
Antonio Linares
www.fivetechsoft.com

Eric Lendvai

unread,
Sep 23, 2022, 5:16:46 AM9/23/22
to Harbour Users
Hello Antonio,

The  set HB_BUILD_CONTRIBS=yes  is not valid it seems.
The value can be either "no" or a list of contrib names.
Using "yes" will fail to build contribs since it will only try to build a contrib named "yes".

A question, what will "set HB_USER_PRGFLAGS=-l-"  do?

Thanks, Eric

Antonio Linares

unread,
Sep 23, 2022, 6:15:42 AM9/23/22
to harbou...@googlegroups.com
Dear Eric,

Yes, you are right

set HB_BUILD_CONTRIBS

is enough

> A question, what will "set HB_USER_PRGFLAGS=-l-"  do?

-l suppress line number information, so -l- does not suppress it  (not sure right now which one is the default one if not specified)

best regards

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com

---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/tE9r7u9lDts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.


--
Antonio Linares
www.fivetechsoft.com
Reply all
Reply to author
Forward
0 new messages