I've taken a quick look at brmake source, and it looks
it would need some serious work to make it into Harbour
as multiplatform 'hbmk' implementation.
Some parts of it need to be translated to English, and
apparently the code is targeting the Windows world
exclusively (all filenames are in uppercase for a start).
The code also implements some features which need
intimate knowledge of 3rd party projects' properties,
and while this could be a good service for some users,
I'd think a generic make system should be as simple
(and generic obviously) as possible, and without such
dependencies.
The beauty of OSS is that this project can live on its
own merits, and I'm sure their developers would welcome
everyone wanting to enhance it in above or other ways.
It can also easily be used by any Harbour users even know,
and I'd encourage everyone to try it, if they seek an
hbmake alternative. It seems far better supported and
probably superior to hbmake in other ways, too.
I'd personally not invest more time (after hbmake) in
refactoring other heavy build tools. It'd be nice to
see Przemek's hbmk code to replace our current
light batch/script solutions, though.
Brgds,
Viktor
Can I suggest another point that will be useful for make an uniform
documentation of harbour
Define a standard make system so each platform/c compiler will use
similar instruction for compile a little sample, or a big project.
so is
difficult document how harbour works
I suggest something like build project.exe from
test1.prg,test2.prg,test.prg,hbvm.lib,hbmacro.lib,hbpp.lib,gtwvw.lib
This disuniformity add difficult at first steep with harbour
Imo can be choice from 3 ways
Hbmk.prg defined by Przemyslaw for make uniform
If I'll find spare time to make some cleanups in hbmk.prg then I'll
commit it to SVN. It should give similar to hb* script functionality
Pbmake by Phil Barnet is a make engine for Clipper, Xbase++, C and
ASM
written in clipper
have Support conditional directives
will performing actions just before/after the compile process
Jump to Editor on Compile Failure
We modification for be custom for harbour and multiplatform
BrMake is a sub-project of
https://sourceforge.net/projects/hrbtoolslibs/
This project ts written in [x]harbour and will be driven by
command
line or project file
Command line syntax
Need modification for multiplatform
harbour have made a choice of high quality but make system is not at
the same level of quality now
In my opinion pbmake and brmake are similar so I suggest Viktor and or
Przemyslaw verify if hbmk can be a good way or if the replacement for
hbmake can be phmake/brmake Either are written in PRG Either will a
good
make system for compile either require modification for having same
project file on multiple architecture
Thanks in advance
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour