Files
harbour-core/harbour/extras/template
Viktor Szakats 78e179c85c 2013-02-14 23:09 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/xhb/hbxml.c
    ! several memory leaks fixed in xhb XML support (TXml class)
    ; Patch by Jose F. Gimenez. Thank you very much.

  * utils/hbmk2/hbmk2.prg
    ! fixed -request= to work again for Harbour pcode dynlibs
      regression from: 2010-07-31 13:44 UTC+0200 Viktor Szakats
         8fb774ef80
      (sf.net's SVN web browser is effectively unusable anymore
      for certain parts of Harbour, their server cannot handle
      the history)
    ! fixed missing detection for the proper bcc linker option
      that disables warning for duplicate symbols in executables

  * extras/template/hbtpl.hbp
    + added example to link dynlib against other Harbour (pcode) dynlib
      Disclaimer: There is no "generic support" for this,
      only a set of conventions used throughout Harbour
      contrib .hbc files, contrib/make.hbs and
      $hb_pkg_dynlib.hbm (aka utils/hbmk2/pkg_dynl.hbm)

  * extras/*/*.hbx
    * refreshed
2013-02-14 22:13:42 +00:00
..

/*
 * $Id$
 */

Harbour library project template
================================

Build static lib:
   $ hbmk2 hbtpl.hbp

Build dynamic lib:
   $ hbmk2 -hbdyn hbtpl.hbp

Build and run sample and test code using:
   $ cd tests
   $ hbmk2 sample
   $ sample
   $ hbmk2 test hbtest.hbc
   $ test

Run sample and test code using:
   $ hbrun tests/sample.prg
   $ hbrun tests/test.prg

Use lib from command prompt ("dot prompt"):
   $ cd tests
   $ hbrun

   . ? HBTPL_MYCONSTANT
   . ? hbtpl_MyPublicFunction()

[vszakats]