[TOC]
This repo implements a simple library for working with uint256, uint128 types and it is based from here.
git clone https://github.com/EddyTheCo/QbigInt.git
mkdir build
cd build
qt-cmake -G Ninja -DCMAKE_INSTALL_PREFIX=installDir -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DBUILD_DOCS=OFF ../QbigInt
cmake --build .
cmake --install .
where installDir
is the installation path.
One can choose to build or not the tests and the documentation with the BUILD_TESTING
and BUILD_DOCS
variables.
Download the releases from this repo.
include(FetchContent)
FetchContent_Declare(
QtbigInt
GIT_REPOSITORY https://github.com/EddyTheCo/Qpow-IOTA.git
GIT_TAG vMAJOR.MINOR.PATCH
FIND_PACKAGE_ARGS MAJOR.MINOR CONFIG
)
FetchContent_MakeAvailable(QtbigInt)
target_link_libraries(<target> <PRIVATE|PUBLIC|INTERFACE> QtbigInt::qbigint)
You can read the API reference here, or generate it yourself like
cmake -DBUILD_DOCS=ON ../
cmake --build . --target doxygen_docs
We appreciate any contribution!
You can open an issue or request a feature.
You can open a PR to the develop
branch and the CI/CD will take care of the rest.
Make sure to acknowledge your work, and ideas when contributing.