From 2f207051282aa5f7b8ac431c2e46ac7f35e74881 Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Mon, 29 Jul 2024 23:03:18 +0200 Subject: [PATCH] CHG: Update README.md for Conan 2 --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4606072..62f212d 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,21 @@ Integration tests for caosdb-cpplib and the caosdb-server # Run tests -## Prerequisite +## Prerequisites + Create a local conan package from the caosdb-cpplib repository ## Build & Execution -1. `mkdir build && cd build/` -2. `conan install .. -s "compiler.libcxx=libstdc++11"` -3. `cmake -B . ..` + +``` +make test-release +``` + +or manually via + +1. `conan install . -s build_type=<Debug/Release> --build=missing` +2. `cmake --preset conan-<debug/release>` +3. `cd build <Debug/Release>` 4. `cmake --build .` 5. Provide client configuration at `~/.caosdb-client.json` or via any other method described in the docs. 6. There are tests which need access to the server's certificate file. Define -- GitLab