[README.md] Use `cmake --build` and source location flags to simplify and cross-platform configuring & building

This commit is contained in:
Samuel Marks 2023-12-29 13:15:39 -05:00 committed by GitHub
parent ce27f335fe
commit 8519e4bbc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -53,10 +53,8 @@ It also remembers the LED state for each computer, so you can pick up exactly ho
## How to build
```
mkdir build
cd build
PICO_BOARD=pico PICO_SDK_PATH=/your/sdk/path cmake ..
make
PICO_BOARD=pico PICO_SDK_PATH=/your/sdk/path cmake -S . -B build
cmake --build build
```
## Using pre-built images