|
|
|
|
@ -11,13 +11,15 @@ Downloads: [download.zerotier.com/dist/sdk](https://download.zerotier.com/dist/s
|
|
|
|
|
## Building on Linux, macOS |
|
|
|
|
*Requires [CMake](https://cmake.org/download/), [Clang](https://releases.llvm.org/download.html) is recommended* |
|
|
|
|
``` |
|
|
|
|
make update && make patch && make host_release CC=clang CXX=clang++ |
|
|
|
|
git submodule update --init |
|
|
|
|
make host_release CC=clang CXX=clang++ |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
## Building on Windows |
|
|
|
|
*Requires [CMake](https://cmake.org/download/) and [PowerShell](https://github.com/powershell/powershell)* |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
git submodule update --init |
|
|
|
|
. ./dist.ps1 |
|
|
|
|
Build-Library -BuildType "Release" -Arch "Win32|x64|ARM|ARM64" -LanguageBinding "none|csharp" |
|
|
|
|
``` |
|
|
|
|
|