Skip to content

Commit b171ad6

Browse files
author
Vandenplas, Jeremie
committed
mention of cmake in readme.md
1 parent 42fe6bf commit b171ad6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Further updates are planned...
3232
To build this project from the source code in this repository you need to have
3333
a Fortran compiler supporting Fortran 2008 and one of the supported build systems:
3434

35+
- [cmake](https://cmake.org) version 3.14.0 or newer
3536
- [fpm](https://fpm.fortran-lang.org) version 0.3.0 or newer
3637
- [meson](https://mesonbuild.com) version 0.55 or newer, with
3738
a build-system backend, *i.e.* [ninja](https://ninja-build.org) version 1.7 or newer
@@ -44,6 +45,21 @@ cd minpack
4445
```
4546

4647

48+
#### Building with cmake
49+
50+
Invoke cmake in the project root with
51+
52+
```
53+
cmake -B build
54+
cmake --build build
55+
```
56+
57+
To run the testsuite use
58+
59+
```
60+
cmake --build build --target test
61+
```
62+
4763
#### Building with fpm
4864

4965
Invoke fpm in the project root with

0 commit comments

Comments
 (0)