From 2a3ae9836aecc49aa2509d22370069ed15048dc3 Mon Sep 17 00:00:00 2001
From: Joscha Schmiedt <schmiedt@uni-bremen.de>
Date: Fri, 23 Aug 2024 16:56:11 +0200
Subject: [PATCH] Update build instructions for Win32

---
 doc/Install_develop.rst | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/doc/Install_develop.rst b/doc/Install_develop.rst
index 38d55b8..efb1360 100644
--- a/doc/Install_develop.rst
+++ b/doc/Install_develop.rst
@@ -110,23 +110,20 @@ We use `Visual Studio
 as compiler. We use `cmake <https://cmake.org/download/>`__ as build
 tool.
 
-1. clone/update the subrepo ``git submodule update --init proto``
-2. :code:``conan install .. -g visual_studio -s arch=x86_64 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MD --build=missing --update``
-3. ``cd build/Release``
-5. ``cmake -B . ..``
-6. open ``libcaosdb.sln`` with Visual Studio, change the buildtype to
-   ``Release`` and build the project. (You can open Tools/Command
+1. Install Python and create a virtual environment with the dependencies in `requirements.txt`.
+2. Activate the environment run in the repository folder: :code:``conan install . - --build=missing -s build_type=Release``
+3. ``cmake --preset conan-default``
+4. Open ``libcaosdb.sln`` with Visual Studio, change the buildtype to
+   ``Release`` and build the project (ALL_BUILD). (You can open Tools/Command
    Line/Developer Command Prompt and execute
    ``msbuild libcaosdb.sln /property:Configuration=Release``)
+5. Try running the cli clients in ``.\build\Release\``.
 
 Known problems
 ^^^^^^^^^^^^^^
 
--  Linking dynamic libraries currently fails on Windows. So probably
-   other CaosDB libraries which make use of libcaosdb also will not
-   build. This is a known bug and we hope to fix this in the next
-   release. See
-   `#34 <https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib/-/issues/34>`__
+-  Building the unit tests on Windows currently fails with linker errors. See 
+   `#90 <https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib/-/issues/90>`__
 
 Troubleshooting
 ~~~~~~~~~~~~~~~
-- 
GitLab