Solutions of Advent of Code 2021 in C++.
- g++-11
- cmake
- ninja
- inotify-tools
- sh
Use mkdir build
cd build
cmake .. -G Ninja
cmake --build .
to compile the solution.
The solution will be under build/apps/aoc2021
Execute aoc2021
for usage.
workwork.sh
will compile the project, everytime there was a change insrc
,include
orinputs
folder.newday.sh
creates files for a new day. It is necessary to implement a newcase
insrc/boiler.cpp
.
- add warnings from
GCC.mk
intoCMakeLists.txt
- use
clang-format
- use
clang-tidy
- use
cppcheck
- use GitHub's CI?