So f.e. this can be done: --- plugin.prg FUNCTION hbmk2_plugin_show_target( hbmk2 )
SWITCH hbmk2[ "cSTATE" ] CASE "post_all" IF hbmk2[ "nErrorLevel" ] == 0 hbmk2_OutStd( hbmk2, "@@ TARGET: " + hbmk2[ "cTARGETTYPE" ] + " : " + hbmk2[ "cTARGETNAME" ] ) hbmk2_OutStd( hbmk2, "@@ TARGET (ABSOLUTE): " + hbmk2_PathMakeAbsolute( hbmk2[ "cTARGETNAME" ], hbmk2_Macro( hbmk2, "${hb_curdir}" ) ) ) ENDIF EXIT ENDSWITCH RETURN "" --- (in above example there is nothing which is really special hbmk2 knowledge regarding the absolute path creation, but it shows the capabilities nevertheless) Viktor On 2010 May 25, at 19:09, vszak...@users.sourceforge.net wrote: > Revision: 14586 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14586&view=rev > Author: vszakats > Date: 2010-05-25 17:09:12 +0000 (Tue, 25 May 2010) > > Log Message: > ----------- > 2010-05-25 19:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) > * utils/hbmk2/hbmk2.prg > + Extended plugin API: > - New macro expansion function: > hbmk2_Macro( ctx, <str> ) > - New host variables: > cTARGETTYPE, cTARGETNAME, lDEBUG, lMAP, lSTRIP, lINFO, > lBEEP, lRUN, nErrorLevel > > * include/hbextern.ch > + Added two recently added functions. > > * package/winuni/RELNOTES > * Update one version number. > > Modified Paths: > -------------- > trunk/harbour/ChangeLog > trunk/harbour/include/hbextern.ch > trunk/harbour/package/winuni/RELNOTES > trunk/harbour/utils/hbmk2/hbmk2.prg > > > This was sent by the SourceForge.net collaborative development platform, the > world's largest Open Source development site. > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour