Home

Awesome

.github/workflows/build.yml

The ZZ framework uses CMake to build the system.

Build ZZ requires the following:

Recommended:

Windows

Building on Windows is more complicated. The simplest way is to use vcpkg to gather the dependencies.

Vcpkg

Clone the repository

git clone https://github.com/Microsoft/vcpkg

Change into the vcpkg directory, and bootstrap

cd vcpkg
./bootstrap-vcpkg.bat

Install the relevant pacakges

./vcpkg.exe install dirent:x64-windows-static-md zlib:x64-windows-static-md

Create a build directory

cd ../
mkdir build
cd build

Configure

cmake \
    -G "Visual Studio 15 2017 Win64" \
    -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake \
    -DVCPKG_TARGET_TRIPLET=x64-windows-static-md \
    \
    .. 

Build

cmake --build .