From a2b2ffacbefc4e183a2d766e82da8870d5d28a00 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Wed, 7 Jul 2021 12:11:27 +0200 Subject: [PATCH] DOC: Explain compiling of jlcaosdb --- README_SETUP.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README_SETUP.md b/README_SETUP.md index dc9d9b0..aabb8f5 100644 --- a/README_SETUP.md +++ b/README_SETUP.md @@ -20,5 +20,25 @@ providing binary JLL packages in the future. [libcaosdb](https://gitlab.com/caosdb/caosdb-cpplib) in a way that it is visible to cmake when compiling the wrapper classes later on. +## Compile jlcaosdb + +Compile the wrapper code in `jlcaosdb` by + +```sh +cd jlcaosdb +cmake -B build . +cd build +cmake --build . +``` + +Depending on your installation of the prerequisites, you may have to +add `-DCMAKE_PREFIX_PATH=/path/to/install/dir` to the first cmake +command. + +**TODO**: Change when we have a JLL binary for jlcaosdb. If you choose +to compile jlcaosdb in another directory than +`caosdb-julialib/jlcaosdb/build` you will have to adapt the path that +is given to the `@wrapmodule` macro(s) in `CaosDB.jl` before using it. + **TODO**: Explain installation (with Pkg.jl), running tests, dependencies, etc. -- GitLab