openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

[script] add build script #200

Closed bukepo closed 3 years ago

bukepo commented 3 years ago

Fixes #192

bukepo commented 3 years ago

@bukepo you probably want to avoid switching to the build directory for building, right? For this purpose, you can use below cmake commands to config, build and install cmake projects from project directory:

cmake -S . -B build -GNinja
cmake --build build
cmake --install build

just to keep consistent with other OpenThread derived projects.