User Tools

Site Tools


melanobot:melanobot:build

Building From Source

Dependencies

List of Ubuntu packages

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

Tools

g++ cmake

Libraries

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

Getting the Sources

Available Git repos:

    • git@github.com:mbasaglia/Melanobot_v2.git (SSH)
    • https://github.com/mbasaglia/Melanobot_v2.git (HTTPS)
    • git@gitlab.com:mattia.basaglia/Melanobot_v2.git (SSH)
    • https://gitlab.com/mattia.basaglia/Melanobot_v2.git (HTTPS)

Building

Quick Build Commands

mkdir build
cd build
cmake ..
make

Modules

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

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

cmake -DMODULE_POSIX=ON ..

Running Tests

TODO

melanobot/melanobot/build.txt · Last modified: 2015/05/26 15:35 (external edit)