PowBuild

PowBuild is a utility to build, compile, move, copy, install pascal files and executables. It is like a domain specific language in pascal geared toward short build files that are easy to understand and still use pascal dialect as opposed to using something like GNU Make which has another syntax altogether.

Source Code

edit

The source is at https://github.com/z505/powtils/blob/master/dev/main/pwbuildutil.pas

See It In Use

edit

To see examples of PowBuild and what a build file in a nice pascal syntax looks like, you can build the whole Powtils project and its examples very fast at the command line.

This builds the examples https://github.com/z505/powtils/blob/master/dev/examples/build.pp

This is a help file in text which explains how the build file works and what to do with it https://github.com/z505/powtils/blob/master/dev/examples/build-readme.txt

Advantages Over GNU Make

edit

Any pascal code and units can be used with a PowBuild file, not just specific gnu make text and syntax. This is a large advantage to do pretty much anything in pascal, if the PowBuild unit doesn't have something you need. If you need something else in GNU Make you cannot really add it to the make file with a general purpose programming language functions, procedures, and objects.