Skip to content

Commit

Permalink
Forgot the building steps
Browse files Browse the repository at this point in the history
  • Loading branch information
SirObby committed Oct 31, 2022
1 parent 75cc641 commit 0d631cb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docpages/make_a_bot/meson.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ 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.
~~~~~~~~~~~~~~{meson.build}
~~~~~~~~~~~~~~
project('discord-bot', 'cpp',
version : '0.1',
default_options : ['warning_level=3',
Expand All @@ -47,4 +47,11 @@ test('basic', exe)
~~~~~~~~~~~~~~

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

## 4. Building

To build a meson project run

$ meson setup builddir
$ meson compile -C builddir

0 comments on commit 0d631cb

Please sign in to comment.