readme: add build instructions

This commit is contained in:
Tom 2019-09-16 18:14:15 +02:00
parent 1438cfc697
commit 2ecc643bc5

View File

@ -2,6 +2,17 @@ Signal handler for multithreaded C++ applications on Linux
========================================================== ==========================================================
## Build & Install
```
mkdir -p build/ && cd build/
cmake ..
make
make test
make install
```
Example usage: Example usage:
``` ```
bool worker(sgnl::AtomicCondition<bool>& exit_condition) bool worker(sgnl::AtomicCondition<bool>& exit_condition)