Commit 78cd4c3f authored by Ivan Tyagov's avatar Ivan Tyagov

Update docs.

See merge request !38
parents c4f1417b dfb839c5
......@@ -8,18 +8,37 @@ Criterion: https://github.com/Snaipe/Criterion
apt-get install libcriterion-dev
## Compile open62541
```
ivan@t580:~$ git clone https://github.com/open62541/open62541.git
ivan@t580:~$ cd open62541/
ivan@t580:~/open62541$ git checkout v1.3.3
ivan@t580:~/open62541$ git submodule update --init --recursive
ivan@t580:~/open62541$ mkdir build && cd build
ivan@t580:~/open62541/build$ cmake -DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUA_NAMESPACE_ZERO=REDUCED \
-DUA_ENABLE_AMALGAMATION=OFF \
-DUA_ENABLE_PUBSUB=ON \
..
ivan@t580:~/open62541/build$ make -j 7
ivan@t580:~/open62541/build$ sudo make install
```
## Compile
```
make all
ivan@t580:~/repos/nexedi/osie/tests/unit_tests$ make all
```
## Execute Tests
For `test_common` to execute:
```
./build/test_common
ivan@t580:~/repos/nexedi/osie/tests/unit_tests/build$ export LD_LIBRARY_PATH=/usr/local/lib
ivan@t580:~/repos/nexedi/osie/tests/unit_tests/build$ /test_common
```
For `test_common` to execute and get a `tap` conform output execute:
```
./build/test_common --tap=test.tap
ivan@t580:~/repos/nexedi/osie/tests/unit_tests/build$ /test_common --tap=test.tap
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment