Skip to content

vstan02/xcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xCalc

A fast and simple to use calculator

Version: v0.2.1 License: LGPL v3

Contents

Building and Installation

Dependencies

  • C compiler
  • cmake (>= 3.17)

These packages can usually be installed through your distributions package manager.

Some libraries:

Building the project

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

Running the program

If everything went well with the compilation we can run the executable:

./xcalc

Installing

To install the app run:

sudo make install

By default the app will be installed in /usr/local/bin/ directory.

License

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.

Contributing

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.