Minimalist command line tool to track time spend
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
I also use dependencies in thirdparty folder.
- cxxsubs: A Library to add Subcommand to cxxopts
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
It's a toy project. Mainly used to learn some new library. Your comments are welcome, if you spot error or improvement.