-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCMakeLists.txt
141 lines (103 loc) · 3.99 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
cmake_minimum_required(VERSION 3.16)
project(algolab)
set(CMAKE_CXX_STANDARD 14)
find_package(CGAL)
# Week 1
add_executable(build_the_sum src/build_the_sum.cpp)
add_executable(dominoes src/dominoes.cpp)
add_executable(even_pairs src/even_pairs.cpp)
add_executable(even_matrices src/even_matrices.cpp)
# Week 2
add_executable(burning_coins src/burning_coins.cpp)
add_executable(the_great_game src/the_great_game.cpp)
add_executable(beach_bars src/beach_bars.cpp)
add_executable(search_snippets src/search_snippets.cpp)
# Week 3
add_executable(hit src/hit.cpp)
add_executable(first_hit src/first_hit.cpp)
add_executable(antenna src/antenna.cpp)
add_executable(hiking_maps src/hiking_maps.cpp)
target_link_libraries(hit CGAL::CGAL)
target_link_libraries(first_hit CGAL::CGAL)
target_link_libraries(antenna CGAL::CGAL)
target_link_libraries(hiking_maps CGAL::CGAL)
# Week 4
add_executable(ant_challenge src/ant_challenge.cpp)
add_executable(important_bridges src/important_bridges.cpp)
add_executable(first_steps src/first_steps.cpp)
add_executable(buddy_selection src/buddy_selection.cpp)
# Week 5
add_executable(attack_of_the_clones src/attack_of_the_clones.cpp)
add_executable(san_francisco src/san_francisco.cpp)
add_executable(boats src/boats.cpp)
add_executable(asterix_the_gaul src/asterix_the_gaul.cpp)
# Week 6
add_executable(shopping_trip src/shopping_trip.cpp)
add_executable(tiles src/tiles.cpp)
add_executable(knights src/knights.cpp)
add_executable(kingdom_defence src/kingdom_defence.cpp)
# Week 7
add_executable(maximizeit src/maximizeit.cpp)
add_executable(diet src/diet.cpp)
add_executable(inball src/inball.cpp)
add_executable(radiation src/radiation.cpp)
target_link_libraries(maximizeit CGAL::CGAL)
target_link_libraries(diet CGAL::CGAL)
target_link_libraries(inball CGAL::CGAL)
target_link_libraries(radiation CGAL::CGAL)
# Week 8
add_executable(bistro src/bistro.cpp)
add_executable(germs src/germs.cpp)
add_executable(h1n1 src/h1n1.cpp)
add_executable(clues src/clues.cpp)
target_link_libraries(bistro CGAL::CGAL)
target_link_libraries(germs CGAL::CGAL)
target_link_libraries(h1n1 CGAL::CGAL)
target_link_libraries(clues CGAL::CGAL)
# Week 9
add_executable(real_estate src/real_estate.cpp)
add_executable(placing_knights src/placing_knights.cpp)
add_executable(algocoon src/algocoon.cpp)
add_executable(casino src/casino.cpp)
# Week 10
add_executable(chariot_race src/chariot_race.cpp)
add_executable(switzerland src/switzerland.cpp)
add_executable(new_york src/new_york.cpp)
add_executable(worldcup src/worldcup.cpp)
target_link_libraries(worldcup CGAL::CGAL)
# Week 11
add_executable(return_of_the_jedi src/return_of_the_jedi.cpp)
add_executable(lestrade src/lestrade.cpp)
add_executable(hand src/hand.cpp)
add_executable(meereen src/meereen.cpp)
target_link_libraries(hand CGAL::CGAL)
target_link_libraries(lestrade CGAL::CGAL)
# Week 12
add_executable(moving_books src/moving_books.cpp)
add_executable(carsharing src/carsharing.cpp)
add_executable(india src/india.cpp)
add_executable(hongkong src/hongkong.cpp)
target_link_libraries(hongkong CGAL::CGAL)
# Week 13
add_executable(evolution src/evolution.cpp)
add_executable(marathon src/marathon.cpp)
add_executable(punch src/punch.cpp)
add_executable(sith src/sith.cpp)
target_link_libraries(sith CGAL::CGAL)
# Problems of the week
add_executable(deck_of_cards src/deck_of_cards.cpp)
add_executable(russia src/russia_official_solution.cpp)
add_executable(defensive_line src/defensive_line.cpp)
add_executable(motorcycles src/motorcycles.cpp)
add_executable(tracking src/tracking.cpp)
add_executable(octopussy src/octopussy.cpp)
add_executable(surveillance src/surveillance.cpp)
add_executable(legions src/legions.cpp)
add_executable(idefix src/idefix.cpp)
add_executable(fleetrace src/fleetrace.cpp)
add_executable(iron_islands src/iron_islands.cpp)
add_executable(lannister src/lannister.cpp)
add_executable(secret_service src/secret_service.cpp)
target_link_libraries(motorcycles CGAL::CGAL)
target_link_libraries(legions CGAL::CGAL)
target_link_libraries(idefix CGAL::CGAL)