Commit 5cddeabae224ec16ef3e9dcfa6d9de34992301ca
1 parent
857fff60
Add a note about compilation
Showing
1 changed file
with
8 additions
and
0 deletions
tests/README
| 1 | +Compilation | ||
| 2 | +----------- | ||
| 3 | + | ||
| 4 | +After installation, you can use pkg-config to compile these tests. | ||
| 5 | +For example, to compile random-test-slave run: | ||
| 6 | + | ||
| 7 | +gcc random-test-slave.c -o random-test-slave `pkg-config --libs --cflags modbus` | ||
| 8 | + | ||
| 1 | random-test-slave | 9 | random-test-slave |
| 2 | ----------------- | 10 | ----------------- |
| 3 | It's necessary to launch this server before run random-test-master. By | 11 | It's necessary to launch this server before run random-test-master. By |