-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
77 lines (60 loc) · 2.31 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
cmake_minimum_required(VERSION 3.26.4)
project(advent-of-code-2023)
# cutil dependency
add_subdirectory(dependencies/cutil)
set(
INCLUDE_DIRS
dependencies/cutil/include
)
set(
LIBRARIES
cutil
m
)
include_directories(${INCLUDE_DIRS})
add_executable(day-01-p1 source/day-01-p1.c)
target_link_libraries(day-01-p1 ${LIBRARIES})
add_executable(day-01-p2 source/day-01-p2.c)
target_link_libraries(day-01-p2 ${LIBRARIES})
add_executable(day-02-p1 source/day-02-p1.c)
target_link_libraries(day-02-p1 ${LIBRARIES})
add_executable(day-02-p2 source/day-02-p2.c)
target_link_libraries(day-02-p2 ${LIBRARIES})
add_executable(day-03-p1 source/day-03-p1.c)
target_link_libraries(day-03-p1 ${LIBRARIES})
add_executable(day-03-p2 source/day-03-p2.c)
target_link_libraries(day-03-p2 ${LIBRARIES})
add_executable(day-04-p1 source/day-04-p1.c)
target_link_libraries(day-04-p1 ${LIBRARIES})
add_executable(day-04-p2 source/day-04-p2.c)
target_link_libraries(day-04-p2 ${LIBRARIES})
add_executable(day-05-p1 source/day-05-p1.c)
target_link_libraries(day-05-p1 ${LIBRARIES})
add_executable(day-05-p2 source/day-05-p2.c)
target_link_libraries(day-05-p2 ${LIBRARIES})
add_executable(day-06-p1 source/day-06-p1.c)
target_link_libraries(day-06-p1 ${LIBRARIES})
add_executable(day-06-p2 source/day-06-p2.c)
target_link_libraries(day-06-p2 ${LIBRARIES})
add_executable(day-07-p1 source/day-07-p1.c)
target_link_libraries(day-07-p1 ${LIBRARIES})
add_executable(day-07-p2 source/day-07-p2.c)
target_link_libraries(day-07-p2 ${LIBRARIES})
add_executable(day-08-p1 source/day-08-p1.c)
target_link_libraries(day-08-p1 ${LIBRARIES})
add_executable(day-08-p2 source/day-08-p2.c)
target_link_libraries(day-08-p2 ${LIBRARIES})
add_executable(day-09-p1 source/day-09-p1.c)
target_link_libraries(day-09-p1 ${LIBRARIES})
add_executable(day-09-p2 source/day-09-p2.c)
target_link_libraries(day-09-p2 ${LIBRARIES})
add_executable(day-10-p1 source/day-10-p1.c)
target_link_libraries(day-10-p1 ${LIBRARIES})
add_executable(day-10-p2 source/day-10-p2.c)
target_link_libraries(day-10-p2 ${LIBRARIES})
add_executable(day-11-p1 source/day-11-p1.c)
target_link_libraries(day-11-p1 ${LIBRARIES})
add_executable(day-11-p2 source/day-11-p2.c)
target_link_libraries(day-11-p2 ${LIBRARIES})
add_executable(day-13-p1 source/day-13-p1.c)
target_link_libraries(day-13-p1 ${LIBRARIES})