Getting Started
Since this library was made completely in vanilla C++, it has no dependencies, and using it should be pretty straightforward.
There are two ways to include this library in your projects.
Method 1:
Clone the repository:
git clone https://github.com/abdallahsoliman00/NumXX.git
Add the folder NumXX to your include path.
To use now, add the following line to the top of your C++ file:
#include "Numxx.hpp"
Method 2:
Add the following to your CMakeLists.txt project file:
# Fetch NumXX from GitHub
include(FetchContent)
FetchContent_Declare(
NumXX
GIT_REPOSITORY https://github.com/abdallahsoliman00/NumXX.git
GIT_TAG main
)
FetchContent_MakeAvailable(NumXX)
# Link library
target_link_libraries(${PROJECT_NAME}
PUBLIC
NumXX
)
You can now use the library by adding the following:
#include <Numxx.hpp>