Hi Pritpal,

Hi All,
Is there any important feature still missing from hbmk2?


Macro parser in .PRG and .C | .CPP files.

In batch file:
SET MySourceFolder=c:\dev_sources\vouch

In .HBM
${MySourceFolder}\vouch.prg

I think you should just let go this idea of storing any
absolute paths in an .hbm file at all. As I wrote, all paths
in .hbm will inherit its owner .hbm base dir, so if
you move the .hbm it will automatically move all file
references without doing any additional steps.

Maybe your situation is special in some ways I don't know,
but for me it works like this without any problem. The
only absolute reference I need is to the *root* .hbm file,
and even for this only if it's not in current dir. The
other possible location for absolute paths is .hbm file
references inside an .hbm file, but that's again only one
occurrence, so it's just as easy to modify it as an envvar.
Macro expansion could be added to .hbm file parameters,
but IMO this wouldn't really help making things simpler.
Pls tell if it would.

[ Macro expansion in source files is would just make
parsing slower and would give way to hard to port/move
.hbm files, I'd like to avoid both. ]

This way I can move my projects to any drive | directory
just changing one entry in batch file only.

Pls try what I suggested. Store you .hbm in your project
root and refer to that file from other locations, use
simple relative dirs inside that .hbm.

Rest all is fine with hbmk2. Thank you for this tool.

You're welcome.

I'd still like to finish incremental .po generation, but
didn't start it yet.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to