Skip to content

mmasciol/yaml-fortran

Repository files navigation

CI Coverage license

YAML Fortran library

A library to read *.yaml files in Fortran. This project depends on yaml-cpp and implements a thin wrapper layer to handle API calls with yaml-cpp.

This library's documentation is located at www.yaml-fortran.com.

Examples

Building

This project relies on two packages existing inside the ./pkg/ directory: yaml-cpp and mkdocs-fortran. You need to pull these git submodules before building otherwise the build will fail. You can do this with the following command (both windows and linux):

$ git submodule init
$ git submodule update

Build on linux:

$ mkdir ./build
$ cd build
$ cmake -DYAML_BUILD_SHARED_LIBS=ON ..
$ make

Build on windows:

> mkdir build
> cd build
> cmake -DYAML_BUILD_SHARED_LIBS=ON ..

Then open the visual studio project file ./build/fortran-yaml.sln and compile. The binary executables and libraries are archived in the ./bin folder. Be sure to the default project to one of the unit test cases in order to evaluate in a debugging session.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published