Skip to content

Commit

Permalink
added range v3 example from AoC 2022 day 1
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Läufer <[email protected]>
  • Loading branch information
klaeufer committed Nov 1, 2023
1 parent e59cdd3 commit 4fa59ab
Show file tree
Hide file tree
Showing 5 changed files with 2,327 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(cli11)

FetchContent_Declare(
Range-v3
GIT_REPOSITORY "https://github.com/ericniebler/range-v3"
GIT_TAG "0.12.0"
)
FetchContent_MakeAvailable(Range-v3)

FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
Expand Down
14 changes: 14 additions & 0 deletions data/day1example.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
1000
2000
3000

4000

5000
6000

7000
8000
9000

10000
Loading

0 comments on commit 4fa59ab

Please sign in to comment.