bast / calculator

Exercise to practice building projects with CMake.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License

Calculator

Exercise to practice building projects with CMake.

The source code and unit tests are organized as follows:

.
├── LICENSE.md
├── README.md
├── src
│   ├── add.f90
│   ├── calculator.h
│   ├── main.cpp
│   └── subtract.f90
└── test
    ├── calculator.cpp
    └── main.cpp

Tasks

  • Build a shared library.
  • Build and link the main program.
  • Build the unit tests and link against Google Test.
  • Define a version number inside CMake and print it to the output of the executable.
  • Print the Git hash to the output of the executable.
  • Create an installer so the program can be installed properly (GNU standards).
  • Create a DEB or RPM package (if relevant for your distribution).

About

Exercise to practice building projects with CMake.

License:Other


Languages

Language:C++ 45.0%Language:Fortran 44.9%Language:C 10.1%