1. Home
  2. Browse
  3. gmp

gmp

v6.2.1#14Go to latest

The GNU Multiple Precision Arithmetic Library

Install

Run the following Vcpkg command to install the port.

vcpkg install gmp

Usage

The package gmp can be imported via CMake FindPkgConfig module:

#  gmp
find_package(PkgConfig REQUIRED)
pkg_check_modules(gmp REQUIRED IMPORTED_TARGET gmp)
target_link_libraries(main PkgConfig::gmp)
# gmpxx
find_package(PkgConfig REQUIRED)
pkg_check_modules(gmpxx REQUIRED IMPORTED_TARGET gmpxx)
target_link_libraries(main PkgConfig::gmpxx)

Features

Dependencies

See source

Version

v6.2.1#14

Publication

Supports

All

Homepage

gmplib.org

Subtree

e461f6dc35

License

LGPL-3.0-onlyorGPL-2.0-only

Definition

Manifest