Skip to content

Commit

Permalink
README.md: mark quotes shell
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Apr 30, 2024
1 parent 2cd89aa commit 0ceeab7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ of the above example apps.
* For macOS and similar posix-like environment, you can build it with
cmake in a usual way.

```
```shell
% cmake -B build
% cmake --build build
```
Expand All @@ -169,22 +169,22 @@ of the above example apps.
By default, it uses ThinLTO if available.
You might want to use regular LTO instead to get a bit better optimization:

```
```shell
% cmake -B build . -DUSE_IPO=OFF -DCMAKE_C_FLAGS=-flto=full
% cmake --build build
```

By default, it requires `wabt` and `cmocka` for tests. If you don't
want to install them, you can disable tests.
```
```shell
% cmake -B build -D BUILD_TESTING=OFF
% cmake --build build
```
Otherwise, after building it, you can run tests with:
```
```shell
% cd build
% ctest
```
Expand Down

0 comments on commit 0ceeab7

Please sign in to comment.