![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Before compiling, you will need to install cmake on your system. To be sure that cmake is installed, you can type the following command:
$ cmake --version cmake version 3.20.4
In an empty directory, create the following files and directories:
- your_project/
|-- libs/
|-- src/
|-- main.cpp
|-- CMakeLists.txt
In the libs/ directory, clone D++ with: git clone https://github.com/brainboxdotcc/DPP.git
Here is an example CMake configuration, adapt it according to your needs:
Your project directory should look like this:
- your_project/
|-- libs/
|-- DPP
|-- spdlog # again, only if you need it
|-- src/
|-- main.cpp
|-- CMakeLists.txt
Have fun!