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 /path/to/mccode_repository/FLAVOR-comps/libs/mcpl/mcpl.c
  3. Copy the header file to tree: cp somewhere/src/mcpl/mcpl.h /path/to/mccode_repository/FLAVOR-comps/libs/mcpl/mcpl.h
  4. Copy the mcpl tool: cp somewhere/src/mcpl/mcpltool_app.c /path/to/mccode_repository/FLAVOR-comps/libs/mcpl/tool.c
Clone this wiki locally