![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Before compiling, you will need to install meson on your system. To be sure that meson is installed, you can type the following command:
First, you'll need to go ahead and create an empty directory, we'll call it meson-project.
Then, run this command:
Add the following line after the project() line in your meson.build file.
Add the following line in the executable section of your meson.build file.
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.
Meson automatically generates a cpp for your project. And a test suite.
To build a Meson project, run the following:
Now, your Meson project should be all setup!
Have fun!