theHamsta / aoc2021

Advent of Code 2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aoc2021

Solutions of Advent of Code 2021 in C++.

Dependencies

  • g++-11
  • cmake
  • ninja
  • inotify-tools
  • sh

Build

Use mkdir build cd build cmake .. -G Ninja cmake --build . to compile the solution. The solution will be under build/apps/aoc2021

Usage

Execute aoc2021 for usage.

Scripts

  • workwork.sh will compile the project, everytime there was a change in src, include or inputs folder.
  • newday.sh creates files for a new day. It is necessary to implement a new case in src/boiler.cpp.

TODO

  • add warnings from GCC.mk into CMakeLists.txt
  • use clang-format
  • use clang-tidy
  • use cppcheck
  • use GitHub's CI?

About

Advent of Code 2021

License:GNU Affero General Public License v3.0


Languages

Language:C++ 99.4%Language:CMake 0.3%Language:Shell 0.2%Language:Makefile 0.1%