dbuilder

June 26, 2012 · View on GitHub

================== dbuilder

This tool is design to be easy to use, easy to build your D project. It is not written for cover all strangeness build. This tool will save your time for build comon project. Most part of project do not need a complex build script.

dbuilder need:

  • your feed back
  • your help

BUILD

Build with your compiler ldc2src/dbuilder/information.dsrc/dbuilder/ini.dsrc/dbuilder/main.dofbuilderldc2 src/dbuilder/information.d src/dbuilder/ini.d src/dbuilder/main.d -ofbuilder dmd src/dbuilder/information.d src/dbuilder/ini.d src/dbuilder/main.d -ofbuilder $ gdmd src/dbuilder/information.d src/dbuilder/ini.d src/dbuilder/main.d -ofbuilder

INSTALL

For linux user you can put exectubale programm to /usr/bin

USAGE

dbuilder works by 3 step 1/ configure the project read in current directory if a file named dbuilder.cfg or dbuilder.ini exist read parameter froom command line (priority give to command line )

2/ build the project Build project with the compiler given or default compiler

3/ install the project Install the project to right path, platform dependant

Config File

Can take name:

  • dbuilder.ini
  • dbuilder.cfg

The config file works as key value type=<shared,static,executable> job= destdir= prefix= bindir= datadir= docdir= includedir= libdir= pkgconfigdir= importsdir= dflags= warning some compiler do not have same flag use it only if need linktolib=<lib1,lib2,lib3> comma separated sourcedir=:, sourcefiles=:, packagedir=:, excludemodule=:, buildir= compiler= use it from command line that is the better way arch= default take same arch to the system you can force by using this parameter version<Major.Minor.Bump> eg 0.1.5 usefull for versionned shared lib filter= comma separated not fully implemented for do not build selected files