1. Home
  2. Browse
  3. gmp

gmp

v6.3.0#2Latest

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.3.0#2

Publication

Supports

!xbox

Homepage

gmplib.org

Subtree

f6a91a80e3

License

LGPL-3.0-onlyorGPL-2.0-only

Definition

Manifest