libcorrect uses CMake for out-of-source builds. To build and install the library, ensure CMake is installed, then execute the following commands from the source directory:
mkdir build && cd build && cmake .. && make && make install
If your host system has <x86intrin.h> available, libcorrect will automatically build an SSE version. The SSE headers are provided under <correct-sse.h>. Note that libcorrect requires SSE functions up to and including SSE4, and the caller is responsible for ensuring SSE availability and usage.