Skip to content
A C-based sdk for delivering secure applications over a Ziti Network
C C++ CMake Batchfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deps
inc_internal
includes/nf
library
programs
tests
toolchains
windows
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
Jenkinsfile
LICENSE
README.md
build.variants
git-modules
git.cmake
make_publish_spec.sh
msvc-2017-build.bat
msvc-build.bat
publish.sh
uber-build.sh
version
ziti.pc.in

README.md

Ziti C SDK - Setup for Development

The following steps should get your C SDK for Ziti building. C development is specific to your operating system and tool chain used. These steps should work properly for you but if your OS has variations you may need to adapt these steps accordingly.

Status

Build Status

Prerequisites

Build

Init

The C SDK requires additional dependencies to be retreived. This is accomplished via the git submodule command. Fetch third party libs using:

$ git submodule update --init --recursive

Build

Linux/MacOS

Building the SDK on linux/mac can be accomplished with:

$ mkdir build
$ cd build
$ cmake .. && make

If you are cross compiling, you must name the build directory as build-$(uname -s)-$(uname -m)

Windows

The easiest method to build on windows is to open a "Developer Command Prompt for VS 2019" and execute msvc-build.bat. Open that file to see the individual steps needed to build the C SDK on Windows. The steps the script will do are:

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_INSTALL_LIBDIR=lib
cmake --build . --config Debug [Release]

Getting Help

Please use these community resources for getting help. We use GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.

Copyright© 2018-2019. NetFoundry, Inc.

You can’t perform that action at this time.