Skip to content

wotpp/wotpp-tools

Repository files navigation

libwotpp

Interface with wot++ in C++!

Build

This project comes with a handy set of scripts that automatically clone the official wot++ repository, and apply some modifications to it such that it becomes suitable to be built as a library.

Generating the source

You will need to install the parse python library.

pip install parse

The following set of scripts should work automatically. In the case they didn't, please file an issue in this repository.

./recreate.sh
./fix_includes.sh

Compiling

Assuming all the sources have been generated correctly you can now build this project normally as a meson/ninja project.

meson build --buildtype=release

NOTE: If you want to set a custom compiler, remember to set both the CXX and CC variables.

CXX=clang++ CXX_LD=lld CC=clang CC_LD=lld meson build --buildtype=release

Build and install:

ninja -C build
ninja -C build install

And you should be good to go.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •