Skip to content

Commit 9412d1a

Browse files
committed
update README
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 0a37084 commit 9412d1a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff 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

4444
Building 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.

0 commit comments

Comments
 (0)