Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

berkeley-abc/abc-zz

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.github/workflows/build.yml

The ZZ framework uses CMake to build the system.

  • Create a new directory 'build' under the abc-zz main directory

    mkdir build cd build

  • Run CMake

    cmake ..

  • Build the target you are interested in (e.g. bip.exe)

    make bip.exe (builds the bip executable) make Bip (build the Bip library and its dependencies) make Bip-pic (build the Bip library and its dependencies with -fPIC) make Bip-exe (build all exectuables in module Bip)

    make zz_all (builds all libraries and executables) make zz_pic (build all libraries with -fPIC) make zz_static (build all static libraries)

Build ZZ requires the following:

  • CMake version 3.8 or above
  • Python 2.7s (or later)
  • Developer header files and libraries for 'zlib' (e.g. zlib1g-dev package on Ubuntu)

Recommended:

  • GNU Readline developer header files and libraries (e.g. readline-dev on Ubuntu)
  • libpng developer header files and libraries (e.g. libpng12-dev on Ubuntu)

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 .

About

Niklas Een's ABC/ZZ framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.