Skip to content

How to build

Nick Pope edited this page Jun 21, 2013 · 4 revisions

To get the most recent development version, clone the github git repository for dsb:

mkdir dsb
cd dsb
git clone https://github.com/dharc/dsb.git .

DSB uses cmake to build the project. The recommended way to compile DSB as either Debug or Release is to create Debug and Release build directories first. In the dsb directory just created for the github clone:

mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..

The above should be done once to configure a Debug and Release build. The actual build uses make:

cd Debug
make
cd Release
make

Clone this wiki locally