• Stars
    star
    162
  • Rank 231,144 (Top 5 %)
  • Language
    C
  • Created about 9 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

crc16/crc32/crc64

crc

crc16/crc32/crc64

Build

git clone https://github.com/gityf/crc.git
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=1 -DCRC_TESTS=1
make 

Testing

./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

add_subdirectory(crc)

target_link_libraries(${PROJECT_NAME} PUBLIC crc)