Skip to content

How to update the MCPL shipped with McStas McXtrace

Erik B Knudsen edited this page May 8, 2017 · 3 revisions

These are the steps to be taken to update the MCPL-code shipped with McStas/McXtrace (=FLAVOR)

  1. check out the desired MCPL-tag and move into its code repo. (in this case somewhere/ )
  2. Copy the fat version of mcpl library to tree: cp somewhere/src_fat/mcpl_fat.c FLAVOR/libs/mcpl/mcpl.c
  3. Copy the header file to tree cp somewhere/src/mcpl/mcpl.h FLAVOR/libs/mcpl/mcpl.h
  4. Copy the mcpl tool: cp somewhere/src/mcpl/mcpltool_app.c FLAVOR/libs/mcpl/tool.c
Clone this wiki locally