User Tools

Site Tools


Building From Source


List of Ubuntu packages

If you are on Ubuntu you can just apt-get these:


g++ cmake git


libboost-all-dev libcurl4-openssl-dev libssl-dev

Getting the Sources

Available Git repos:

    • (SSH)
    • (HTTPS)
    • (SSH)
    • (HTTPS)


Quick Build Commands

mkdir build
cd build
cmake ..


Modules contain sets of features which can be enabled or disabled at compile time.

Name Description Default
core Core module, should always be enabled ON
fun Possibly useless yet silly stuff ON
irc Internet Relay Chat support ON
posix Extra features for POSIX systems OFF
web Web stuff (HTTP and friends) ON
xonotic Xonotic integration ON
script Scripting interface ON
lists Manage lists OFF
file_storage Storage with a text file back end OFF

Modules can be toggled during the configuration phase.
Eg (Enabling the Posix module):


Running Tests

Tests can be run using ctest.

The make target coverage compiles and runs all the tests, then uses lcov to generate coverage information.

melanobot/build.txt · Last modified: 2015/12/20 20:23 by melanosuchus