Skip to content

Cmake: add options to generate TFs Fortran files on the fly

Sebastian Müller requested to merge cmake_python_option into develop

Closes: #72 (closed)

Added two options to the cmake workflow:

  • GENERATE_TFS_CONFIG: pass a path to a config namelist to generate transfer-functions
  • GENERATE_TFS_PARAM: additional path to parameter namelist to generate transfer-functions

Setting at least GENERATE_TFS_CONFIG will run the python script to generate the fortran file with the desired transfer-functions. This could be helpful for other projects using MPR as a library (see mHM).

Edited by Sebastian Müller

Merge request reports