Skip to content

Commit b9ba832

Browse files
committed
doc: closes #4
1 parent 55e502f commit b9ba832

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ cmake --build build
5050
cmake --install build
5151
```
5252

53+
then to link into your existing program from the command line (if not using CMake FetchContent as is suggested):
54+
55+
```sh
56+
gfortran -I~/lib/h5fortran/include myprogram.f90 ~/lib/h5fortran/libh5fortran.a
57+
```
58+
59+
5360
### [optional] create distributable archive
5461

5562
If you wish to create a .zip archive that is usable on systems with compatible Fortran ABI:

0 commit comments

Comments
 (0)