D++ (DPP)
C++ Discord API Bot Library
Build a Discord Bot Using Meson

1. Toolchain

Before compiling, you will need to install meson on your system. To be sure that meson is installed, you can type the following command:

meson --version
0.63.2

2. Create a Meson project

First, you'll need to go ahead and create an empty directory, we'll call it meson-project.

Then, run this command:

meson init -l cpp

3. Configuring Your Meson Project

Add the following line after the project() line in your meson.build file.

dpp = dependency('dpp')

Add the following line in the executable section of your meson.build file.

dependencies: [dpp]

Change the cpp_std value in the project() to c++17. Your meson.build should look like this:

your meson.build should look like this.

project('discord-bot', 'cpp',
version : '0.1',
default_options : ['warning_level=3',
'cpp_std=c++17'])
dpp = dependency('dpp')
exe = executable('discord', 'discord_bot.cpp',
install : true, dependencies: [dpp])
test('basic', exe)

Meson automatically generates a cpp for your project. And a test suite.

4. Building

To build a Meson project, run the following:

meson setup builddir
meson compile -C builddir

Now, your Meson project should be all setup!

Have fun!

D++ Library version 10.0.35D++ Library version 10.0.34D++ Library version 10.0.33D++ Library version 10.0.32D++ Library version 10.0.31D++ Library version 10.0.30D++ Library version 10.0.29D++ Library version 10.0.28D++ Library version 10.0.27D++ Library version 10.0.26D++ Library version 10.0.25D++ Library version 10.0.24D++ Library version 10.0.23D++ Library version 10.0.22D++ Library version 10.0.21D++ Library version 10.0.20D++ Library version 10.0.19D++ Library version 10.0.18D++ Library version 10.0.17D++ Library version 10.0.16D++ Library version 10.0.15D++ Library version 10.0.14D++ Library version 10.0.13D++ Library version 10.0.12D++ Library version 10.0.11D++ Library version 10.0.10D++ Library version 10.0.9D++ Library version 10.0.8D++ Library version 10.0.7D++ Library version 10.0.6D++ Library version 10.0.5D++ Library version 10.0.4D++ Library version 10.0.3D++ Library version 10.0.2D++ Library version 10.0.1D++ Library version 10.0.0D++ Library version 9.0.19D++ Library version 9.0.18D++ Library version 9.0.17D++ Library version 9.0.16D++ Library version 9.0.15D++ Library version 9.0.14D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0