A fast and simple to use calculator
- C compiler
- cmake (>= 3.17)
These packages can usually be installed through your distributions package manager.
Some libraries:
To build the project, we first need to create a separate build directory:
mkdir build
Now that we've created our build directory (assuming it's created in the project root), we can cd
into it and run cmake
and pass the parent directory path to it, which is where the CMakeLists.txt
file is located:
cd build
cmake ..
Once cmake
is done generating makefiles, we can build the app by running make
inside our build directory:
make
If everything went well with the compilation we can run the executable:
./xcalc
To install the app run:
sudo make install
By default the app will be installed in /usr/local/bin/
directory.
xCalc is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more details, see LICENSE file.
Contributions are welcome. If you have a feature request, or have found a bug, feel free to open a new issue. If you wish to contribute code, see CONTRIBUTING.md for more details.