Skip to content

edmBernard/time-tracker

Repository files navigation

time-tracker C++ CI

Minimalist command line tool to track time spend

Dependencies

We use vcpkg to manage dependencies

This project depends on:

  • cxxopts: Command line argument parsing
  • fmt: A modern formatting library
  • replxx: A small, portable GNU readline replacement for Linux, Windows and MacOS.
  • date: A date and time library based on standard chrono header
  • spdlog: Very fast, header-only/compiled, C++ logging library
  • nlohmann-json: JSON for Modern C++
./vcpkg install cxxopts fmt replxx date spdlog nlohmann-json

Embed dependencies:

I also use dependencies in thirdparty folder.

  • cxxsubs: A Library to add Subcommand to cxxopts

Build instructions

mkdir build
cd build
# configure make with vcpkg toolchain
cmake .. -DCMAKE_TOOLCHAIN_FILE=${VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release

the server executable is named timetracker

Disclaimer

It's a toy project. Mainly used to learn some new library. Your comments are welcome, if you spot error or improvement.

About

Minimalist command line tool to track time spend

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published