banan-os/userspace/aoc2023/CMakeLists.txt

47 lines
701 B
CMake
Raw Normal View History

set(AOC2023_PROJECTS
day1
day2
day3
2023-12-04 17:51:27 +02:00
day4
2023-12-05 09:13:13 +02:00
day5
2023-12-06 07:27:25 +02:00
day6
2023-12-07 07:56:56 +02:00
day7
day8
2023-12-09 16:22:43 +02:00
day9
2023-12-10 18:28:04 +02:00
day10
2023-12-11 14:34:31 +02:00
day11
day12
2023-12-19 01:25:23 +02:00
day13
2023-12-19 02:49:10 +02:00
day14
2023-12-19 11:27:28 +02:00
day15
2023-12-19 22:22:16 +02:00
day16
2023-12-23 18:46:43 +02:00
day17
2023-12-23 18:47:21 +02:00
day18
2023-12-23 18:47:44 +02:00
day19
2023-12-24 13:39:26 +02:00
day20
2023-12-24 14:58:21 +02:00
day21
day23
2023-12-26 14:10:49 +02:00
day24
day25
2023-12-23 18:45:40 +02:00
full
)
set(BANAN_AOC2023_BIN ${CMAKE_INSTALL_BINDIR}/aoc2023)
2023-12-01 12:37:09 +02:00
set(BANAN_AOC2023_INPUT ${BANAN_SHARE}/aoc2023)
set(CMAKE_INSTALL_BINDIR ${BANAN_AOC2023_BIN})
add_custom_target(aoc2023)
file(GLOB_RECURSE input_files "input/*")
foreach(file ${input_files})
install(FILES ${file} DESTINATION ${BANAN_AOC2023_INPUT})
endforeach()
foreach(AOC2023_PROJECT ${AOC2023_PROJECTS})
2023-12-01 12:37:09 +02:00
add_subdirectory(${AOC2023_PROJECT})
add_dependencies(aoc2023 aoc2023_${AOC2023_PROJECT})
endforeach()
add_dependencies(userspace aoc2023)