From 47b4ebbf78e23a7f57231f8ab5e8aded2d09f8fe Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Tue, 29 Oct 2024 11:13:46 +0100 Subject: [PATCH] DOC: Add windows instructions to README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 510518c..9b58caa 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,29 @@ or manually via path to the pem file in the `CAOSDB_SERVER_CERT` environment variable. 7. Run with `ctest` in the build directory. +### Windows ### + +On windows, you still need to build and create a conan package from +linkahead-cpplib using conan-create or the make.ps1 script in the +cpplib repo. + +This repo also provides a make script `make.ps1` to run the +integration tests on Windows. You need to create a python virtual +environment and install the requirements from linkahead cpplib or +recycle the one you used to create the package there: + +```sh +python -m venv .venv # Choose any path you like for your venv +.venv/Scripts/Actvate.ps1 +pip install ../linkahead-cpplib/requirements.txt # You may need to change the pass to cpplib here +``` + +Then build and run the tests with + +```sh +make.ps1 all +``` + ### Troubleshooting ### - If you don't have `clang-tidy` installed, you can run the first `cmake` command with -- GitLab