... | ... | @@ -2,3 +2,34 @@ |
|
|
* **v1**: Branch with new server and old API. For bug resolution.
|
|
|
* **v2**: Branch with new server and new API.
|
|
|
* **pybind**: Branch from v1 that adapts some functions for python binding.
|
|
|
|
|
|
### Develop on a branch
|
|
|
|
|
|
Sometimes we need to develop two branches on the same machine. Developing an alternative version can be done.
|
|
|
Download the alternative version:
|
|
|
```
|
|
|
$ git clone https://code.ill.fr/cameo/cameo.git --branch v1.0
|
|
|
```
|
|
|
Compile the Java sources:
|
|
|
```
|
|
|
$ cd cameo
|
|
|
$ mvn clean install
|
|
|
```
|
|
|
Access the server full jar:
|
|
|
```
|
|
|
cameo-server-jzmq/target/cameo-server-jzmq-1.0.0-full.jar
|
|
|
```
|
|
|
Access the console full jar:
|
|
|
```
|
|
|
cameo-console-jzmq/target/cameo-console-jzmq-1.0.0-full.jar
|
|
|
```
|
|
|
|
|
|
Compile and install the C++ API sources into a temporary directory e.g. */tmp/cameo-install* :
|
|
|
```
|
|
|
$ cd cameo-api-cpp
|
|
|
$ mkdir build
|
|
|
$ cd build
|
|
|
$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/cameo-install ..
|
|
|
$ cmake --build . --target install
|
|
|
```
|
|
|
Access the include and .so files from the temporary directory. |