README.md 869 Bytes
Newer Older
1
2

## Dependencies 
3
4
5
6
7
 - cmake 3.7.2
 - cppzmq
 - rapidjson
 - doxygen (optional)
 
8
9
10
### CENTOS 8 

List of packages:
11
 - cmake
12
 - cppzmq-devel
13
 - rapidjson-devel
14
15
 
```
16
pkgs="cmake zeromq-devel rapidjson-devel"
17
18
19
20
21
22
23
24
yum install -y $pkgs
```

### Debian XXX



### Ubuntu XXX
25
```sudo apt install cmake libzmq3-dev rapidjson-dev```
26
27
28
29
30
31
32
33
34
35


## Compilation instructions

```
mkdir build/
cd build/
cmake ..
cmake --build .
```
36

37
38
39
40
41
42
43
44
45
46

## Development 
How to find the list of public headers and check that they are all in the include/ directory
 1. move all the headers in src/
 2. move cameo.h to include/
 3. run the following command multiple times until there is no output
```
#!/bin/fish
set -l ORIG_DIR src
for f in (for file in include/*; grep include $file | grep '"'; end | sort | uniq | sed 's|.* "||;s|"||'); if [ -e $ORIG_DIR/$f ] ; echo $f; git mv $ORIG_DIR/$f include/; end; end
47
```