aoc-cpp is a small Advent of Code workspace built around Clang, C++23 modules, and a deliberately low-level "orthodox C++" style.
clang++with C++23 modules supportmakedoxygenfor API docsbearif you want to regeneratecompile_commands.json
src/contains the executable entry point and C++ module units.docs/contains project documentation and the checked-in Doxygen config.build/contains generated binaries, module caches, objects, and other build output.
The default configuration is debug.
makeOther supported configurations:
make CONFIG=release
make CONFIG=instrumentClean generated output:
make clean
make clean_allRegenerate the compilation database used by clangd:
make bearThis target rebuilds the project with Clang's native -MJ compilation database
fragments so C++23 module interface units are included correctly.
Generate Doxygen output with the checked-in config:
make docsThat target reads docs/Doxyfile and writes generated output to docs/html/ and docs/latex/.
- The build currently uses
clang++directly from themakefile. compile_commands.jsonis generated metadata and should be refreshed when source layout or compiler flags change.- The repository includes VS Code settings for
clangdanduncrustify.