jonathondgebhardt / advent-of-code-cpp

Advent of Code
0 stars 0 forks source link

Improve StartNewDay #8

Closed jonathondgebhardt closed 11 months ago

jonathondgebhardt commented 11 months ago

StartNewDay takes care of a lot of the boiler plate involved with starting a new AoC solution. It does not add the new day to CMake. Can this be improved?

jonathondgebhardt commented 11 months ago

I greatly simplified how new days are implemented: each day gets a single source file containing gtest and a single CMake file. Since solutions for days are basically tests, I thought this made sense. I also recursively add subdirectories in the solutions folder. I know this is generally a no-no but I think it's really convenient for what I need.