Download the sources and enter directory FortranUtilities. Then create a build directory and enter that directory:
mkdir build
cd build
Prepare compilation files. To use default options and compiler on your system type:
cmake ..
Optionally you can select an install directory by typing:
cmake .. -DCMAKE_INSTALL_PREFIX=/installation/path/
You can specify a different compiler by typing:
CC=icc CXX=icc FC=ifort cmake ..
You can use a Fortran compiler and a C++ compiler from a different vendor. For example, to use Intel Fortran compiler and G++, type:
CC=gcc CXX=g++ FC=ifort cmake ..
Compile typing:
make
Install:
make install
A static and a shared library are created. Tests programs for both libraries are created too.