Skip to content
Snippets Groups Projects

Minimal c interface

Merged Timm Fitschen requested to merge f-extern-c into dev
All threads resolved!
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
+ 20
0
@@ -9,6 +9,26 @@ We use [cmake](https://cmake.org) as build tool.
@@ -9,6 +9,26 @@ We use [cmake](https://cmake.org) as build tool.
3. `cmake -B . ..`
3. `cmake -B . ..`
4. `cmake --build .`
4. `cmake --build .`
 
You may also want to install libcaosdb system-wide to
 
`CMAKE_INSTALL_PREFIX/lib` by
 
 
5. `cmake --install .`
 
 
The default install prefix is `~/.local`. It can be set by adding
 
`-DCMAKE_INSTALL_PREFIX=/path/to/install/prefix` to the first cmake
 
command (3.).
 
 
### How to build on MacOS
 
 
Instead of the above conan command (2.) use
 
 
2. `conan install .. -s "cppstd=11"`
 
 
and continue as you would when building on a Linux system. You may
 
have to add `build/lib/` (or, alternatively after installation,
 
`CMAKE_INSTALL_PREFIX/lib`) to your `DYLD_LIBRARY_PATH` environmental
 
variable.
 
## Unit Tests
## Unit Tests
### Build
### Build
Loading