Installation ============ We are currently working on a convenient way of installing oac-tree related packages all at once using the `vcpkg` dependency manager. While it is not yet ready, one has to install oac-tree packages one by one using the standard ``CMake/make/make install`` chain. Source ------ * `oac-tree repository collections `_ * `Codac Operation Applications `_ Prerequisites for oac-tree GUI ------------------------------ * C++-17 * CMake >= 3.14 * gtest >= 1.12 * libxml2 * oac-tree and plugins * Qt6 (qt6-base, qt6-tools, qt6-charts, qt6-svg) Qt5 build is also possible with ``-DCOA_USE_QT6=OFF`` flag. Install COA packages -------------------- Checkout and install packages from `oac-tree repository collections `_ * `sup-utils `_ * `sup-dto `_ * `sup-di `_ * `sup-protocol `_ * `sup-epics `_ * `oac-tree `_ * `oac-tree-epics `_ * `oac-tree-server `_ * `sup-mvvm `_ * `sup-gui-extra `_ * `sup-gui-core `_ * `oac-tree-gui `_ Installation on custom Linux ----------------------------- All COA packages are ordinary CMake packages and they can be compiled and installed on any Linux of user choice like any other CMake project. Here we show the installation of `sup-utils` package. All others have to be installed in a similar way in the order given by the list above. We assume that the user wants to install all dependencies into `` (e.g. /opt/local):: git clone https://github.com/oac-tree/sup-utils.git mkdir ; cd cmake -DCMAKE_PREFIX_PATH= -DCMAKE_INSTALL_PREFIX= make -j4; ctest; make install It might be needed to add `/lib` to `LD_LIBRARY_PATH`. Alternative installation on custom Linux ----------------------------------------- This method doesn't require installation, all packages will be used from their `` directories thanks to CMake magic (the magic is located in $HOME/.cmake directory). Use `-DCOA_EXPORT_BUILD_TREE=ON` during CMake configuration phase:: git clone https://github.com/oac-tree/sup-utils.git mkdir ; cd cmake -DCOA_EXPORT_BUILD_TREE=ON make -j4; ctest