On Tue, 27 Oct 2009, Szak�ts Viktor wrote:
> >Massimo probably I do not understand sth but can you explain how
> >using:
> >  #pragma option:hbmk2 mylib.hbc
> >is better then:
> >  request MYLIB
> The idea of the #pragma is to automatically pull
> required libs, include paths and whatnot (all
> contained in the .hbc file) right from the source
> files.
> It doesn't replace REQUEST at all, though.

I know this. But I'm interesting how it can help newbie users in
their own code. They still have to add valid library name so why
it's better then using REQUEST and -l<libname> hbmk2 switch.
Maybe I'm missing sth but it's a feature which can work only with
source code so it's not even an option for binary libraries. For
me it may help only in compilation of some example files from Harbour
SVN if they do not have their own .hbp files and does not contain any
information about compile/link commands in their headers.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to