Skip to content
Snippets Groups Projects
Commit 0713a63c authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOC: How to install with conan. Downgraded cmake requirements.

parent 6c149c8b
No related branches found
No related tags found
2 merge requests!4ENH: Allow insertion and deletion of single entities,!2F doc setup
Pipeline #10812 failed
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.13)
set(libcaosdb_VERSION 0.0.5) set(libcaosdb_VERSION 0.0.5)
set(libcaosdb_COMPATIBLE_SERVER_VERSION_MAJOR 0) set(libcaosdb_COMPATIBLE_SERVER_VERSION_MAJOR 0)
......
# How to Develop and Use Libcaosdb # How to Develop and Use Libcaosdb
## Build ## Requirements ##
- conan: `pip install conan`
- cmake >= 3.13
- (Only necessary when building from the git sources) `git submodule update --init proto`
## Semi-manual build
We use [cmake](https://cmake.org) as build tool. We use [cmake](https://cmake.org) as build tool.
1. `mkdir build && cd build/` 1. `mkdir build && cd build`
2. `conan install .. -s "compiler.libcxx=libstdc++11"` 2. `conan install .. -s "compiler.libcxx=libstdc++11"`
3. `cmake -B . ..` 3. `cmake -B . ..`
4. `cmake --build .` 4. `cmake --build .`
...@@ -29,6 +35,13 @@ have to add `build/lib/` (or, alternatively after installation, ...@@ -29,6 +35,13 @@ have to add `build/lib/` (or, alternatively after installation,
`CMAKE_INSTALL_PREFIX/lib`) to your `DYLD_LIBRARY_PATH` environmental `CMAKE_INSTALL_PREFIX/lib`) to your `DYLD_LIBRARY_PATH` environmental
variable. variable.
## Building with Conan ##
Building and installing libcaosdb with Conan is just a single command:
`conan create . -s "compiler.libcxx=libstdc++11"`
For MacOS, you probably should adjust the option as mentioned above.
## Unit Tests ## Unit Tests
### Build ### Build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment