mirror of
https://github.com/gityf/crc.git
synced 2026-08-13 04:52:00 +08:00
Update README.md
This commit is contained in:
@@ -1,2 +1,23 @@
|
|||||||
# crc
|
# crc
|
||||||
crc16/crc32/crc64
|
crc16/crc32/crc64
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
git clone https://github.com/gityf/crc.git
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DBUILD_SHARED_LIBS=1
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
## Include
|
||||||
|
|
||||||
|
### Cmake build system
|
||||||
|
|
||||||
|
``` cmake
|
||||||
|
add_subdirectory(crc)
|
||||||
|
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC crc)
|
||||||
|
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user