Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 529 Bytes

windows_build.md

File metadata and controls

27 lines (22 loc) · 529 Bytes

Windows Build

Get Windows Toolchain and Zigbee SDK

Ninja is required for building.

winget install Ninja-build.Ninja
mkdir build; cd build; cmake -P ../cmake/TelinkSDK_Win.cmake
cd ..

Configure Build

cmake . -G "Ninja" -B build

Custom Toolchain and SDK

cmake . -G "Ninja" -B build -DTOOLCHAIN_PREFIX=~/opt/tc32 -DSDK_PREFIX=~/opt/tl_zigbee_sdk

Perform Project Build

cmake --build build --target IASsensor.zigbee