Debian Codegraph @

src/cdogs/CMakeLists.txt

raw
1 include_directories(
2 .. # to include proto
3 ${SDL2_INCLUDE_DIRS})
4 add_definitions(-DSTATIC)
5 set(CDOGS_SOURCES
6 actor_fire.c
7 actor_pickup.c
8 actor_placement.c
9 actors.c
10 aheasing/easing.c
11 ai.c
12 ai_context.c
13 ai_coop.c
14 ai_utils.c
15 algorithms.c
16 ammo.c
17 animation.c
18 AStar.c
19 automap.c
20 blit.c
21 bullet_class.c
22 c_array.c
23 camera.c
24 campaign_entry.c
25 campaigns.c
26 character.c
27 character_class.c
28 collision/collision.c
29 collision/minkowski_hex.c
30 color.c
31 config.c
32 config_apply.c
33 config_io.c
34 config_json.c
35 config_old.c
36 cpic.c
37 damage.c
38 defs.c
39 door.c
40 draw/char_sprites.c
41 draw/draw.c
42 draw/draw_actor.c
43 draw/draw_buffer.c
44 draw/drawtools.c
45 draw/nine_slice.c
46 emitter.c
47 events.c
48 files.c
49 font.c
50 font_utils.c
51 game_events.c
52 game_mode.c
53 gamedata.c
54 grafx.c
55 grafx_bg.c
56 handle_game_events.c
57 hud/fps.c
58 hud/gauge.c
59 hud/health_gauge.c
60 hud/hud.c
61 hud/hud_num_popup.c
62 hud/player_hud.c
63 hud/wall_clock.c
64 joystick.c
65 json_utils.c
66 keyboard.c
67 log.c
68 los.c
69 map.c
70 map_archive.c
71 map_build.c
72 map_cave.c
73 map_classic.c
74 map_interior.c
75 map_new.c
76 map_object.c
77 map_static.c
78 map_wolf.c
79 material.c
80 mathc/mathc.c
81 mission.c
82 mission_convert.c
83 mission_static.c
84 mouse.c
85 music.c
86 net_client.c
87 net_server.c
88 net_util.c
89 objective.c
90 objs.c
91 palette.c
92 particle.c
93 path_cache.c
94 pic.c
95 pic_manager.c
96 pickup.c
97 pickup_class.c
98 pics.c
99 player.c
100 player_template.c
101 powerup.c
102 quick_play.c
103 screen_shake.c
104 sounds.c
105 texture.c
106 thing.c
107 tile.c
108 tile_class.c
109 triggers.c
110 utils.c
111 vector.c
112 weapon.c
113 weapon_class.c
114 weapon_usage.c
115 window_context.c
116 XGetopt.c
117 yajl_utils.c)
118 set(CDOGS_HEADERS
119 actor_fire.h
120 actor_pickup.h
121 actor_placement.h
122 actors.h
123 aheasing/easing.h
124 ai.h
125 ai_context.h
126 ai_coop.h
127 ai_utils.h
128 algorithms.h
129 ammo.h
130 animation.h
131 AStar.h
132 automap.h
133 blit.h
134 bullet_class.h
135 c_array.h
136 camera.h
137 campaign_entry.h
138 campaigns.h
139 character.h
140 character_class.h
141 collision/collision.h
142 collision/minkowski_hex.h
143 color.h
144 config.h
145 config_io.h
146 config_json.h
147 config_old.h
148 cpic.h
149 damage.h
150 defs.h
151 door.h
152 draw/char_sprites.h
153 draw/draw.h
154 draw/draw_actor.h
155 draw/draw_buffer.h
156 draw/drawtools.h
157 draw/nine_slice.h
158 emitter.h
159 events.h
160 files.h
161 font.h
162 font_utils.h
163 game_events.h
164 game_mode.h
165 gamedata.h
166 grafx.h
167 grafx_bg.h
168 handle_game_events.h
169 hud/fps.h
170 hud/gauge.h
171 hud/health_gauge.h
172 hud/hud.h
173 hud/hud_defs.h
174 hud/hud_num_popup.h
175 hud/player_hud.h
176 hud/wall_clock.h
177 joystick.h
178 json_utils.h
179 keyboard.h
180 log.h
181 los.h
182 map.h
183 map_archive.h
184 map_build.h
185 map_cave.h
186 map_classic.h
187 map_interior.h
188 map_new.h
189 map_object.h
190 map_static.h
191 map_wolf.h
192 material.h
193 mathc/mathc.h
194 mission.h
195 mission_convert.h
196 mission_static.h
197 mouse.h
198 music.h
199 net_client.h
200 net_server.h
201 net_util.h
202 objective.h
203 objs.h
204 palette.h
205 particle.h
206 path_cache.h
207 pic.h
208 pic_manager.h
209 pickup.h
210 pickup_class.h
211 pics.h
212 player.h
213 player_template.h
214 powerup.h
215 quick_play.h
216 screen_shake.h
217 sounds.h
218 sys_config.h
219 sys_specifics.h
220 texture.h
221 thing.h
222 tile.h
223 tile_class.h
224 triggers.h
225 utils.h
226 vector.h
227 weapon.h
228 weapon_class.h
229 weapon_usage.h
230 window_context.h
231 XGetopt.h
232 yajl_utils.h)
233
234 if(NOT USE_SHARED_ENET)
235 add_subdirectory(enet)
236 endif()
237
238 add_subdirectory(c_hashmap)
239 add_subdirectory(cwolfmap)
240 add_subdirectory(SDL_JoystickButtonNames)
241 add_subdirectory(yajl)
242
243 add_library(cdogs STATIC
244 ${CDOGS_SOURCES} ${CDOGS_HEADERS})
245
246 target_link_libraries(cdogs
247 c_hashmap
248 cwolfmap
249 json
250 SDL_joystickbuttonnames
251 yajl_s
252 SDL2::SDL2
253 SDL2_mixer::SDL2_mixer
254 ${ENet_LIBRARIES})