C++ library to validate a given credit card number
- Create a directory
build
mkdir build- Inside
build, build the cmake
cd build/ && cmake ..- Build the shared library (in build/)
make # the binary will be libcreditCardValidator.1.0.0.dylib- Download the lib on your machine (in build/)
cmake -P cmake_install.cmake- (Optionnal) run the unit test
./test_creditCardValidatorIf you want to see how to use it, go to example