Fintamath is an algebra & analysis library written in pure C++.
- C++ 17 or higher
- CMake 3.5 or higher
- C++ Compilers:
- GCC 9 or higher
- Clang 11 or higher
- MSVC v142 or higher
- Operating systems:
- Linux
- Windows
- macOS
- Android
Clone repository.
git clone https://github.com/fintarin/Fintamath.git fintamath
Build in Release mode.
cd fintamath
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build
Add the following lines to your CMakeLists.txt.
add_subdirectory(fintamath)
add_executable(example example.cpp)
target_link_libraries(example fintamath)
Build in Debug mode with tests enabled.
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -Dfintamath_build_tests=ON
cmake --build build
Run tests.
cd build
ctest -CDEBUG --verbose
cd ..
Run clang-format.
cmake -Bbuild -Dfintamath_enable_clangformat=ON
cmake --build build --target clangformat