Hi! > * utils/hbmk2/hbmk2.prg > + utils/hbmk2/examples/plug_moc.prg > + Added experimental plugin system. Plugins are written in .prg > or .hrb and can be passed using '-plug=<.prg|.hrb>' option > or simply by passing '.hrb' filename from cmdline or .hbp/.hbm > files. Plugin names without dir component will be searched > in local dir, hbmk2 dir then PATH. > For the details of the calling protocol and available hbmk2 > API calls and variables, pls check the example and hbmk2 > source code. > Plugin is called from several build stages, in case of multiple > plugins all of them are called at each stage. The plugin > receives the stage name, hbmk2 context and a hash table for > custom variables. The variables are shared between stages and > plugins. Notice that hbmk2 isn't hbrun, so there is a limited > set of the Harbour language which you can use, this also ensures > that the plugins will behave like hbmk2 itself for the most part. > Nothing is finalized. > ; The example is the working replica of moc detection logic found > inside hbqt.
Cool! Very nice job!! =D Regards, Vailton Renato _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour