Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Easy to use, easy to build D project
D
tree: 72062ba1e0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src/dbuilder
README

README

==================
   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
------
move to src dir and build with your compiler
$ mv src
$ ldc2  dbuilder/information.d  dbuilder/ini.d  dbuilder/main.d -of builder
$ dmd   dbuilder/information.d  dbuilder/ini.d  dbuilder/main.d -ofbuilder
$ gdmd  dbuilder/information.d  dbuilder/ini.d  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=<number>
destdir=<path>
prefix=<path>
bindir=<path>
datadir=<path>
docdir=<path>
includedir=<path>
libdir=<path>
pkgconfigdir=<path>
importsdir=<path>
dflags=<compiler flag> warning some compiler do not have same flag use it only if need
linktolib=<lib1,lib2,lib3> comma separated
sourcedir=<path>
sourcefiles=<path>
buildir=<path>
compiler=<name> use it from command line that is the better way
arch=<arch name> 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=<file> comma separated not fully implemented for do not build selected files

Something went wrong with that request. Please try again.