Advent of Code is an Advent calendar of programming puzzles solved in C++.
cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=Debug
cmake --build build --parallel
-
./aoc.shupdatesCMakeLists.txt, downloadsinput, createsmain.cpp, builds, and runs it. -
Set
AOC_SESSION, then run:
./aoc.sh <year> <day>
For example:
./aoc.sh 2015 1
Result:
src/2015
├── 01
│ ├── input
│ └── main.cpp
└── CMakeLists.txt