Skip to content

Commit

Permalink
Add build instructions for desktop systems
Browse files Browse the repository at this point in the history
The library can also be built for desktops, so why not mention it?
  • Loading branch information
sirkrypt0 committed Aug 31, 2022
1 parent f6aa7ca commit 229cf65
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ mkdir -p build && cd build
cmake .. -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_TOOLCHAIN_FILE=../avr.toolchain -DCMAKE_BUILD_TYPE=Debug
# for AVR8 Release builds
cmake .. -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_TOOLCHAIN_FILE=../avr.toolchain -DCMAKE_BUILD_TYPE=Release
make -j
```

Similarily, you can build the library for desktops (we tested Linux and macOS) by omitting the `CMAKE_TOOLCHAIN_FILE` option:

```bash
mkdir -p build && cd build
cmake .. -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Debug # Or Release
make -j
```

## Usage
Expand Down

0 comments on commit 229cf65

Please sign in to comment.