|
|
8 years ago | |
|---|---|---|
| .. | ||
| PyPI | 8 years ago | |
| android | 8 years ago | |
| java/com/zerotier/libzt | 8 years ago | |
| pypi | 8 years ago | |
| README.md | 8 years ago | |
| clean.bat | 8 years ago | |
| clean.sh | 8 years ago | |
| dist.bat | 8 years ago | |
| dist.sh | 8 years ago | |
| module.modulemap | 8 years ago | |
| package.sh | 8 years ago | |
README.md
Projects and scripts for building various packages
Pre-built binaries here
To build entire distribution package:
Step 1: On a Windows host, run make dist. Outputs will be copied to prebuilt/(debug|release)/(win32/win64)
Step 2: On a Linux host, run make dist. Outputs will be copied to prebuilt/linux-$ARCH
Step 3: On a macOS host, run make dist. Outputs will be copied to prebuilt/macos-$ARCH
Step 4: Perform any necessary modifications to the generated projects (such as Xcode projects)
Step 5: Re-run make dist
Step 6: On a Unix-like host, run make package. This will zip everything up into a pair of tar.gz files in products
iOS
- In
packages/xcode_ios, change SDK frommacOStoiOS - Build
Android
This project is not currently generated by CMake, but does utilize the CMakeLists.txt and generates a .aar Android Archive which can be imported into an Android Studio project as a library. An example of this library's usage can be found in examples/android. Further examples of the libzt JNI API can be seen in examples/java.