C++ wrapper for the Mastodon and Pleroma APIs.
Go to file
tastytea 8c2d4c8b97
continuous-integration/drone/push Build is passing Details
Generate and install mastodonpp.pc.
2020-01-03 16:27:59 +01:00
cmake Generate and install mastodonppConfig.cmake and so on. 2020-01-03 16:20:39 +01:00
examples Add support for examples. 2020-01-03 10:22:34 +01:00
include Install headers. 2020-01-03 16:03:08 +01:00
pkg-config Generate and install mastodonpp.pc. 2020-01-03 16:27:59 +01:00
src Fix target_sources. 2020-01-03 16:20:27 +01:00
tests Use Instance and Request classes. 2020-01-03 12:42:10 +01:00
.drone.yml Add first test. 2020-01-03 09:49:41 +01:00
.editorconfig Add skeleton. 2020-01-03 08:32:03 +01:00
.gitignore Expand git ignores. 2020-01-03 10:20:09 +01:00
CMakeLists.txt Generate and install mastodonpp.pc. 2020-01-03 16:27:59 +01:00
CODE_OF_CONDUCT.adoc Add contributing guidelines and COC. 2020-01-03 06:30:29 +01:00
CONTRIBUTING.adoc Add contributing guidelines and COC. 2020-01-03 06:30:29 +01:00
Doxyfile Add documentation. 2020-01-03 11:27:32 +01:00
LICENSE Add license. 2020-01-03 06:29:45 +01:00
README.adoc Add “Usage” and “Install” to readme. 2020-01-03 13:31:11 +01:00
build_doc.sh Add documentation. 2020-01-03 11:27:32 +01:00

README.adoc

mastodonpp

mastodonpp is a C++ wrapper for the Mastodon API. It replaces mastodon-cpp.

Table of Contents

Usage

Have a look at the reference.

Install

From source

Dependencies

  • Tested OS: Linux

  • C++ compiler (tested: GCC 7/8/9)

  • CMake (at least: 3.9)

  • Optional

    • Documentation: Doxygen (tested: 1.8)

    • Tests: Catch (tested: 2.5 / 1.2)

Get sourcecode

Release

Download the current release at schlomp.space.

Development version
git clone https://schlomp.space/tastytea/mastodonpp.git

Compile

mkdir -p build && cd build
cmake ..
cmake --build . -- -j$(nproc --ignore=1)
CMake options:
  • -DCMAKE_BUILD_TYPE=Debug for a debug build.

  • -DWITH_TESTS=YES if you want to compile the tests.

  • -DWITH_EXAMPLES=YES if you want to compile the examples.