I've locally added support for -f<name> for hb* scripts.

In bin/hb-func.sh
...
-f[^-]*)     HB_USRLIBS="\${HB_USRLIBS} -framework \${v#-f}" ;;
...

this makes hbmk usable for Qt like:

 hbmk -n demoqt.prg -lhbqt -lhbqtcore -lhbqtgui -lhbqtnetwork -fQtCore
-fQtGui -fQtNetwork -lsupc++

and I've also added a -hbqt switch to reduce it to:

hbmk -n demoqt.prg -hbqt

like the -xbgtk -xhgtk -hwgui that already exist.

Is there a better way to implement it?

best regards,
Lorenzo
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to