Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Latest commit

 

History

History
82 lines (62 loc) · 2.09 KB

README.md

File metadata and controls

82 lines (62 loc) · 2.09 KB

Framebot - 1.0.0 Build Status Build status Open Source Helpers Documentation Status

This is the official repository for Framebot.

Building from source

Ubuntu/Debian

First you need to install the dependencies

# apt install jansson openssl libcurl4-openssl-dev

then you use cmake to create the build files

mkdir build
cd build
cmake ..

and use make to build and install

make
make install

FreeBSD

The required packages can be installed using either ports:

make -C /usr/ports/{cmake,jansson,openssl,curl} install clean

Or binary packages:

pkg install cmake jansson openssl curl

After that, cd into the framebot repository continue the same way as above:

mkdir build
cd build
cmake ..
make
make install

Windows

For windows builds, you're gonna need:

Install dependencies with vcpkg

vcpkg install curl
vcpkg install jansson

Assuming you installed vcpkg inside C:\tools\vcpkg

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake
cmake --build .

To install you need a prompt with admin rights

cmake --build . --target INSTALL --config Release

Builds with MinGW are not supported yet.

Usage

See our Examples folder.

Contributing

If you want to contribute to the project, follow the instructions on CONTRIBUTING