From 77c045b79d864a46487f5f9981fa585ae07a35db Mon Sep 17 00:00:00 2001 From: Fanjun Kong Date: Mon, 1 Feb 2021 10:26:38 +0800 Subject: [PATCH] iox-#533 Add Installation guide after building. Signed-off-by: Fanjun Kong --- doc/website/getting-started/installation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/website/getting-started/installation.md b/doc/website/getting-started/installation.md index 26a0ab71b7..5bc316e1da 100644 --- a/doc/website/getting-started/installation.md +++ b/doc/website/getting-started/installation.md @@ -63,6 +63,16 @@ The `CMakeLists.txt` from `iceoryx_meta` can be used to easily develop iceoryx w Tip: You can fasten up the build by appending `-j 4` where 4 stands for the number of parallel build processes. You can choose more or less depending on your available CPU cores on your machine. + 4. Install to system + Mac: + ```bash + cmake --build build --target install + ``` + Linux: + ```bash + sudo cmake --build build --target install + ``` + Tip: The installation directory is usually left at its default, which is /usr/local **NOTE:** Iceoryx is build in Release mode with `-O3` optimization by default. If you want to have debug symbols please set `CMAKE_BUILD_TYPE=Debug`.