Skip to content

Commit

Permalink
docs: fixed up a couple things
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Sep 21, 2023
1 parent b5f7039 commit efbb52b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docpages/building/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,13 @@ digraph "Example Directory" {
libs -> "DPP";

src -> "main.cpp";
src -> "main.h";
src -> "more code...";
}
\enddot

## 3. Download DPP from GitHub

Head into your `libs` folder and clone DPP with: `git clone https://github.com/brainboxdotcc/DPP`. Once that's complete, you're good to come out of that directory.
Head into your `libs` folder and clone D++ with: `git clone https://github.com/brainboxdotcc/DPP`. Once that's complete, you're good to come out of that directory.

## 4. Configure CMake

Expand Down Expand Up @@ -172,7 +171,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES

With our `CMakeLists.txt` setup, D++ downloaded, and code inside your `main.cpp`, we'll want to get CMake prepared. Head into your `build` directory and do `cmake ..`, This shouldn't take too long.

When that's complete, come out of that directory and do `cmake --build build/ -j4` (replace -j4 with however many threads you want to use). This will start compiling your bot and placing the executable in the `build` directory!
When that's complete, come out of that directory and do `cmake --build build/ -j4` (replace `-j4` with however many threads you want to use). This will start compiling your bot and placing the executable in the `build` directory!

After that has finished, you can head into `build/` and run your bot by doing `./discord-bot`! If everything went well, you should see your bot come online!

Expand Down

0 comments on commit efbb52b

Please sign in to comment.