Skip to content
This repository

Easy to use, easy to build D project

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 src
Octocat-spinner-32 README
Octocat-spinner-32 dbuilder.cfg
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
------
Build with your compiler
$ ldc2  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=<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=<project name>:<dir1>,<dir2>
sourcefiles=<project name>:<file1>,<file2>
packagedir=<project name>:<dir1>,<dir2>
excludemodule=<project name>:<dir1>,<dir2>
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.