A cross-platform, multiple-precision GUI calculator.
cmake . -Bbuild
cmake --build build
You may need to specify patches to MPIR and MPFR root directories by setting MPIR_ROOT
and MPFR_ROOT
variables.
You can do that using CMake -D
option or by setting environment variables.
For example:
cmake . -Bbuild -DMPIR_ROOT="C:\MPIR" -DMPFR_ROOT="C:\MPFR"
To create solution for Visual Studio correctly, you may need to specify CMake Generator.
For example, to create solution for Visual Studio 2017 on 64-bit Windows, enter the following in Developer Command Prompt:
cmake -G"Visual Studio 15 Win64" . -Bbuild
To build tests, turn on the BUILD_TESTING
variable:
cmake -DBUILD_TESTING=ON . -Bbuild