Skip to content

Recommended use of f90getopt in your project

Hani Andreas Ibrahim edited this page Apr 2, 2022 · 1 revision

It is recommended to just add the file f90getopt.F90 to the source files directory of your Fortran project and compile them together, e.g. with the GNU Fortran compiler:

gfortran f90getopt.F90 myapp.f90 -o myapp

You can deploy the file f90getopt.F90 with your project. These avoids external dependencies and others can compile your project straight away. To use it as a library refer Compile and link to static library in the Wiki.