You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Joseph Henry 6e06cb36ff Improvements to packaging scripts 8 years ago
..
PyPI Added partial support for PyPI (python) package build on Windows 8 years ago
android Moved Android library project to packages/ 8 years ago
java/com/zerotier/libzt Improvements to packaging scripts for Windows, macOS and Linux 8 years ago
pypi Turned off stack debugs 8 years ago
README.md Improvements to packaging scripts for Windows, macOS and Linux 8 years ago
clean.bat Improvements to packaging scripts for Windows, macOS and Linux 8 years ago
clean.sh Improvements to packaging scripts 8 years ago
dist.bat Improvements to packaging scripts for Windows, macOS and Linux 8 years ago
dist.sh Improvements to packaging scripts 8 years ago
module.modulemap Improvements to packaging scripts for Windows, macOS and Linux 8 years ago
package.sh Improvements to distribution and packaging scripts 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 from macOS to iOS
  • 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.