Skip to content
/ qcalc Public

A cross-platform, multiple-precision GUI calculator.

License

Notifications You must be signed in to change notification settings

wadiim/qcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QCalc

A cross-platform, multiple-precision GUI calculator.

Prerequisites

Building

cmake . -Bbuild
cmake --build build

MPIR_ROOT and MPFR_ROOT

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"

Visual Studio

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

Tests

To build tests, turn on the BUILD_TESTING variable:

cmake -DBUILD_TESTING=ON . -Bbuild

License

MIT