generalize to a repo for all years

This commit is contained in:
Eric Mertens 2022-11-08 09:13:11 -08:00
parent 025363cc0c
commit 177e38cd14
15 changed files with 39 additions and 39 deletions

38
2019/CMakeLists.txt Normal file
View File

@ -0,0 +1,38 @@
add_executable(01 01.cpp)
target_link_libraries(01 aocpp)
add_executable(02 02.cpp)
target_link_libraries(02 aocpp intcode)
add_executable(03 03.cpp)
target_link_libraries(03 aocpp)
add_executable(04 04.cpp)
target_link_libraries(04 aocpp)
add_executable(05 05.cpp)
target_link_libraries(05 aocpp intcode)
add_executable(06 06.cpp)
target_link_libraries(06 aocpp)
add_executable(07 07.cpp)
target_link_libraries(07 aocpp intcode)
add_executable(08 08.cpp)
target_link_libraries(08 aocpp)
add_executable(09 09.cpp)
target_link_libraries(09 aocpp intcode)
add_executable(11 11.cpp)
target_link_libraries(11 aocpp intcode)
add_executable(13 13.cpp)
target_link_libraries(13 aocpp intcode)
add_executable(15 15.cpp)
target_link_libraries(15 aocpp intcode)
add_executable(23 23.cpp)
target_link_libraries(23 aocpp intcode)

View File

@ -16,42 +16,4 @@ endif()
add_subdirectory(lib) add_subdirectory(lib)
add_subdirectory(intcode) add_subdirectory(intcode)
add_subdirectory(2019)
add_executable(day01 day01.cpp)
target_link_libraries(day01 aocpp)
add_executable(day02 day02.cpp)
target_link_libraries(day02 aocpp intcode)
add_executable(day03 day03.cpp)
target_link_libraries(day03 aocpp)
add_executable(day04 day04.cpp)
target_link_libraries(day04 aocpp)
add_executable(day05 day05.cpp)
target_link_libraries(day05 aocpp intcode)
add_executable(day06 day06.cpp)
target_link_libraries(day06 aocpp)
add_executable(day07 day07.cpp)
target_link_libraries(day07 aocpp intcode)
add_executable(day08 day08.cpp)
target_link_libraries(day08 aocpp)
add_executable(day09 day09.cpp)
target_link_libraries(day09 aocpp intcode)
add_executable(day11 day11.cpp)
target_link_libraries(day11 aocpp intcode)
add_executable(day13 day13.cpp)
target_link_libraries(day13 aocpp intcode)
add_executable(day15 day15.cpp)
target_link_libraries(day15 aocpp intcode)
add_executable(day23 day23.cpp)
target_link_libraries(day23 aocpp intcode)