Tested on Linux with libstdc++ >= 14.1 and clang >= 18.1
- CMake (version >= 3.28)
- libstdc++ >= 14.1
- clang >= 18.1
- Ninja
CXX=clang++ cmake -B build -GNinja && cmake --build build
./build/AdventOfCode2024
-
Create a
inputs
directory:mkdir inputs
-
Naming should adhere to
DayXX.txt
whereXX
is a zero-padded number representing the day. For example,inputs/Day01.txt
will be opened when running Day 01.inputs/Day20.txt
will be opened when running Day 20.