How to update the MCPL shipped with McStas McXtrace - mccode-dev/McCode GitHub Wiki
These are the steps to be taken to update the MCPL-code shipped with McStas/McXtrace (=FLAVOR)
- Check out the desired MCPL-tag and move into its code repo. (in this case
somewhere/) - 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 - Copy the header file to tree:
cp somewhere/src/mcpl/mcpl.h /path/to/mccode_repository/FLAVOR-comps/libs/mcpl/mcpl.h - Copy the mcpl tool:
cp somewhere/src/mcpl/mcpltool_app.c /path/to/mccode_repository/FLAVOR-comps/libs/mcpl/tool.c