Skip to content

dbuilder-developers/dbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

==================
   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

About

Easy to use, easy to build D project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages