Update README.md

pull/4/head
Andrei Yankovich 3 years ago committed by GitHub
parent 43a1b92915
commit 4d871007ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,10 +7,26 @@
git clone https://github.com/gityf/crc.git
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=1
cmake .. -DBUILD_SHARED_LIBS=1 -DCRC_TESTS=1
make
```
## Testing
``` bash
./crc_test
[ RUN ] ==== Test CRC8Test.BasicTest
[ RUN ] ==== Test CRC16Test.BasicTest
[ RUN ] ==== Test CRC32Test.BasicTest
[ RUN ] ==== Test CRC64Test.BasicTest
[ RUN ] ==== Test CRC8PolyTest.BasicTest
[ RUN ] ==== Test CRC16PolyTest.BasicTest
[ RUN ] ==== Test CRC32PolyTest.BasicTest
[ PASS ] ==== PASSED 7 tests
[ NOPASS ] ==== ERROR 0 tests
```
## Include
### Cmake build system

Loading…
Cancel
Save