Update README.md

This commit is contained in:
Aang23 2019-04-12 13:37:35 +02:00 committed by GitHub
parent afc8cea23c
commit 492158ba80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,34 @@ make && make install
Now in `Release/install` library is placed.
Or, you can install the library through your package manager (dpkg, rpm, etc).
Eg.
```commandline
mkdir -p lib/build/
cd lib/build
# For most RH-based Distributions
cmake -DCMAKE_BUILD_TYPE=Relase -DCPACK_GENERATOR="RPM" ..
# For most Debian-based Distributions
cmake -DCMAKE_BUILD_TYPE=Relase -DCPACK_GENERATOR="DEB" ..
# Or for both of them
cmake -DCMAKE_BUILD_TYPE=Relase -DCPACK_GENERATOR="RPM;DEB" ..
cmake --build . --target package
# OR
make package
# For most Debian-based systems
sudo dpkg -i EventBus*.deb
# For most RH-based systems
sudo rpm -i EventBus*.rpm
# OR
sudo yum install EventBus*.rpm
```
# Performance (could be outdated)
I have prepared some performance results. You can read about them [here](performance/README.md)
Small example: