From 6ae4b539fea817a38b4284dc180566f049ae11fa Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Thu, 1 Jul 2021 14:32:22 +0200 Subject: [PATCH] DOC: readme for building the tests --- README_SETUP.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README_SETUP.md b/README_SETUP.md index 27090f4..f75a46c 100644 --- a/README_SETUP.md +++ b/README_SETUP.md @@ -35,9 +35,18 @@ If you encounter something like `protobufConfig.cmake` when doing `cmake ..` you ## Unit Tests +### Build + +For the tests there is a slightly different setup required (with option `-D CMAKE_BUILD_TYPE=Debug`) + +1. `mkdir build && cd build/` +2. `cmake -B . -D CMAKE_BUILD_TYPE=Debug ..` +3. `cmake --build .` + + ### Run -Build tests as described above. In the build directory, run `ctest` +In the build directory, run `ctest` ### Framework -- GitLab