Simple cpp math lib
For unit tests, gtest is used. However, there is no need to install it as the build process will handle everything automatically.
-
Navigate to the root directory of the repository.
-
Create a build directory and navigate to it:
mkdir build && cd build -
Run CMake to generate the build files:
cmake .. -
Build the project:
cmake --build . --target Release -
The built executable should now be located in the
builddirectory.
After building, you will have two executable files: one for the testing MathLibUnitTests and the other for the short demonstration MathLibExample.