From 6434255fc8289ae311ed752536c9a72334914373 Mon Sep 17 00:00:00 2001 From: NikitaZotov Date: Sun, 27 Oct 2024 20:06:25 +0300 Subject: [PATCH] [docs][build][fix] Build instructions; deps info --- docs/build/build_system.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/build/build_system.md b/docs/build/build_system.md index a9524cdd7..c4125d85e 100644 --- a/docs/build/build_system.md +++ b/docs/build/build_system.md @@ -53,7 +53,7 @@ The package artifacts are available [here](https://github.com/ostis-ai/sc-machin # you can override this variable via -D_PATH_SC_MACHINE_PATH or CMakeUserPreset.json / CMakePreset.json files set(_SC_MACHINE_PATH "/location/to/sc-machine--" CACHE PATH "sc-machine installation path") -# can be override using env variables as well +# can be overriden using env variables as well if(DEFINED ENV{_SC_MACHINE_PATH}) set(_SC_MACHINE_PATH "$ENV{_SC_MACHINE_PATH}") endif() @@ -86,6 +86,8 @@ list(APPEND CMAKE_PREFIX_PATH ${_SC_MACHINE_PATH}) ```sh conan install . + cmake --preset conan-release + cmake --build --preset conan-release ``` - You want to use a package version that is not published in a Conan repo: @@ -119,6 +121,7 @@ list(APPEND CMAKE_PREFIX_PATH ${_SC_MACHINE_PATH}) ```sh conan install . + cmake --preset conan-release cmake --build --preset conan-release ``` @@ -187,6 +190,7 @@ Currently, we require the following packages to be available to CMake at build-t - `websocketpp` - [`asio`](https://think-async.com/Asio/) as the transitive dependency - `nlohmann_json` +- `xml2` You can use convenience scripts provided in our repo (`scripts/install_deps_ubuntu.sh` and `scripts/install_deps_macOS.sh`) to install these dependencies.