|
McStas Readout Master 0.3.3
|
This installs:
readout-configreadout-replayreadout-combinelibreadout and public headersshare/ReadoutThe install prefix carries a full CMake package, so external projects can consume the library in the standard way:
If the prefix is not a system default, point CMake at it with -DCMAKE_PREFIX_PATH="$HOME/.local" (or Readout_DIR). The package is only generated by the install step — there is no build-tree export, so find_package(Readout) will not find an un-installed build directory.
Readout::readout provides the C API headers as-is. Consumers of the C++ surface (reader.h, replay.h, CollectorClass.h, ...) must supply HighFive and HDF5 headers themselves; they are not part of the export.
The build tree mirrors the install layout. A direct build is enough:
Then expose build/bin on PATH so McStas tools resolve readout-config.
SEARCH SHELL "readout-config --show compdir" requires McStas 3.3+. For McStas 3.2, copy the .comp files to a known McStas component search directory and omit SEARCH SHELL.