https://github.com/rddevitte/temperature
A small library for storing temperature values as well as converting them from one unit to another.
https://github.com/rddevitte/temperature
Last synced: 5 months ago
JSON representation
A small library for storing temperature values as well as converting them from one unit to another.
- Host: GitHub
- URL: https://github.com/rddevitte/temperature
- Owner: rddevitte
- License: unlicense
- Created: 2025-12-22T05:44:50.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-12-23T21:13:34.000Z (6 months ago)
- Last Synced: 2025-12-25T11:17:48.128Z (6 months ago)
- Language: C++
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# temperature
A small library for storing temperature values as well as converting them from one unit to another.
## Build
### Prerequisites
To build locally on GNU/Linux, the GNU G++, the GNU Make, the Kitware's CMake and the Google's
GoogleTest packages must be installed.
To install them on Ubuntu, run:
sudo apt update && sudo apt -y install --no-install-recommends g++ make cmake libgtest-dev valgrind doxygen clang
Alternatively, you can also use the Dockerized environment. The only prerequisite is to have the Docker
Engine installed. To install it, please refer to [the official Docker guide](https://docs.docker.com/get-started/get-docker/).
For running the environment, run:
./enter-devel
### Build
To build the library and the GTest executable, run:
./build
### Clean
To clean up the environment, run:
./clean
## Run
To run the GTest executable directly, run:
./_build/test/temperature_test
Alternatively, to run with CTest, run:
ctest --test-dir ./_build/test