This is a simple executable that uses the Prime library which can test a number of being a prime. The executable tests 7 and returns the results: 0 if it passes. It really should pass :)
This project requires the use of conan. It is a basic CMake project otherwise but relies on conan to deliver the Prime library. Here's how:
- Checkout the repository:
$ git clone https://github.com/progician/PrimeTest.git
- Create a build directory:
$ cd PrimeTest && mkdir build && cd build
- Get the dependencies:
$ conan install ..
- Configure with CMake:
$ cmake .. -GNinja
- Build with ninja:
$ ninja
As long as you have the Prime/1.0.0@progician/test dependency available for conan it will build with no problem and when running it should return with the error code 0. That's all to it.