File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ This is the git repository for [LibTomMath](http://www.libtom.net/LibTomMath/),
66
77### Travis CI
88
9- master: [ ![ Build Status] ( https://api.travis-ci.org /libtom/libtommath.png ?branch=master )] ( https://travis-ci.org /libtom/libtommath )
9+ master: [ ![ Build Status] ( https://github.com /libtom/libtommath/actions/workflows/main.yml/badge.svg ?branch=master )] ( https://github.com /libtom/libtommath/actions/workflows/main.yml?query=branch%3Amaster+++ )
1010
11- develop: [ ![ Build Status] ( https://api.travis-ci.org /libtom/libtommath.png ?branch=develop )] ( https://travis-ci.org /libtom/libtommath )
11+ develop: [ ![ Build Status] ( https://github.com /libtom/libtommath/actions/workflows/main.yml/badge.svg ?branch=develop )] ( https://github.com /libtom/libtommath/actions/workflows/main.yml?query=branch%3Adevelop+++ )
1212
1313### AppVeyor
1414
@@ -42,3 +42,17 @@ Tests are located in `demo/` and can be built in two flavors.
4242## Building and Installing
4343
4444Building is straightforward for GNU Linux only, the section "Building LibTomMath" in the documentation in ` doc/bn.pdf ` has the details.
45+
46+ ### CMake support
47+
48+ The project provides support for the CMake build system.
49+
50+ ```
51+ git clone https://github.com/libtom/libtommath.git
52+ mkdir -p libtommath/build
53+ cd libtommath/build
54+ cmake ..
55+ make -j$(nproc)
56+ ```
57+
58+ A shared library build can be done by setting ` -DBUILD_SHARED_LIBS=On ` when invoking the ` cmake ` command.
You can’t perform that action at this time.
0 commit comments