Fix 03cc0d6: Mark level crossings dirty when removing road from them, not from bridge...
[openttd-github.git] / src / CMakeLists.txt
blobe526c5d5953e025d42d62c4cafd0e153dbb23658
1 add_subdirectory(script)
2 add_subdirectory(settingsgen)
3 add_subdirectory(strgen)
5 if(OPTION_TOOLS_ONLY)
6     return()
7 endif()
9 add_subdirectory(3rdparty)
10 add_subdirectory(ai)
11 add_subdirectory(blitter)
12 add_subdirectory(core)
13 add_subdirectory(fontcache)
14 add_subdirectory(game)
15 add_subdirectory(lang)
16 add_subdirectory(linkgraph)
17 add_subdirectory(misc)
18 add_subdirectory(music)
19 add_subdirectory(network)
20 add_subdirectory(os)
21 add_subdirectory(pathfinder)
22 add_subdirectory(saveload)
23 add_subdirectory(sound)
24 add_subdirectory(spriteloader)
25 add_subdirectory(table)
26 add_subdirectory(video)
27 add_subdirectory(widgets)
29 add_files(
30     viewport_sprite_sorter_sse4.cpp
31     CONDITION SSE_FOUND
34 add_files(
35     aircraft.h
36     aircraft_cmd.cpp
37     aircraft_cmd.h
38     aircraft_gui.cpp
39     airport.cpp
40     airport.h
41     airport_cmd.h
42     airport_gui.cpp
43     animated_tile.cpp
44     animated_tile_func.h
45     articulated_vehicles.cpp
46     articulated_vehicles.h
47     autoreplace.cpp
48     autoreplace_base.h
49     autoreplace_cmd.cpp
50     autoreplace_cmd.h
51     autoreplace_func.h
52     autoreplace_gui.cpp
53     autoreplace_gui.h
54     autoreplace_type.h
55     autoslope.h
56     base_consist.cpp
57     base_consist.h
58     base_media_base.h
59     base_media_func.h
60     base_station_base.h
61     bitmap_type.h
62     bmp.cpp
63     bmp.h
64     bootstrap_gui.cpp
65     bridge.h
66     bridge_gui.cpp
67     bridge_map.cpp
68     bridge_map.h
69     build_vehicle_gui.cpp
70     cargo_type.h
71     cargoaction.cpp
72     cargoaction.h
73     cargomonitor.cpp
74     cargomonitor.h
75     cargopacket.cpp
76     cargopacket.h
77     cargotype.cpp
78     cargotype.h
79     cheat.cpp
80     cheat_func.h
81     cheat_gui.cpp
82     cheat_type.h
83     clear_cmd.cpp
84     clear_func.h
85     clear_map.h
86     command.cpp
87     command_func.h
88     command_type.h
89     company_base.h
90     company_cmd.cpp
91     company_cmd.h
92     company_func.h
93     company_gui.cpp
94     company_gui.h
95     company_manager_face.h
96     company_type.h
97     console.cpp
98     console_cmds.cpp
99     console_func.h
100     console_gui.cpp
101     console_gui.h
102     console_internal.h
103     console_type.h
104     cpu.cpp
105     cpu.h
106     crashlog.cpp
107     crashlog.h
108     currency.cpp
109     currency.h
110     date.cpp
111     date_func.h
112     date_gui.cpp
113     date_gui.h
114     date_type.h
115     debug.cpp
116     debug.h
117     dedicated.cpp
118     depot.cpp
119     depot_base.h
120     depot_cmd.cpp
121     depot_cmd.h
122     depot_func.h
123     depot_gui.cpp
124     depot_map.h
125     depot_type.h
126     direction_func.h
127     direction_type.h
128     disaster_vehicle.cpp
129     disaster_vehicle.h
130     dock_cmd.h
131     dock_gui.cpp
132     driver.cpp
133     driver.h
134     economy.cpp
135     economy_base.h
136     economy_cmd.h
137     economy_func.h
138     economy_type.h
139     effectvehicle.cpp
140     effectvehicle_base.h
141     effectvehicle_func.h
142     elrail.cpp
143     elrail_func.h
144     engine.cpp
145     engine_base.h
146     engine_cmd.h
147     engine_func.h
148     engine_gui.cpp
149     engine_gui.h
150     engine_type.h
151     error.h
152     error_gui.cpp
153     fileio.cpp
154     fileio_func.h
155     fileio_type.h
156     fios.cpp
157     fios.h
158     fios_gui.cpp
159     fontcache.cpp
160     fontcache.h
161     fontdetection.h
162     framerate_gui.cpp
163     framerate_type.h
164     gamelog.cpp
165     gamelog.h
166     gamelog_internal.h
167     genworld.cpp
168     genworld.h
169     genworld_gui.cpp
170     gfx.cpp
171     gfx_func.h
172     gfx_layout.cpp
173     gfx_layout.h
174     gfx_type.h
175     gfxinit.cpp
176     gfxinit.h
177     goal.cpp
178     goal_base.h
179     goal_cmd.h
180     goal_gui.cpp
181     goal_type.h
182     graph_gui.cpp
183     graph_gui.h
184     ground_vehicle.cpp
185     ground_vehicle.hpp
186     group.h
187     group_cmd.cpp
188     group_cmd.h
189     group_gui.cpp
190     group_gui.h
191     group_type.h
192     gui.h
193     guitimer_func.h
194     heightmap.cpp
195     heightmap.h
196     highscore.cpp
197     highscore.h
198     highscore_gui.cpp
199     hotkeys.cpp
200     hotkeys.h
201     house.h
202     house_type.h
203     industry.h
204     industry_cmd.cpp
205     industry_cmd.h
206     industry_gui.cpp
207     industry_map.h
208     industry_type.h
209     industrytype.h
210     ini.cpp
211     ini_load.cpp
212     ini_type.h
213     intro_gui.cpp
214     landscape.cpp
215     landscape.h
216     landscape_cmd.h
217     landscape_type.h
218     language.h
219     livery.h
220     main_gui.cpp
221     map.cpp
222     map_func.h
223     map_type.h
224     misc.cpp
225     misc_cmd.cpp
226     misc_cmd.h
227     misc_gui.cpp
228     mixer.cpp
229     mixer.h
230     music.cpp
231     music_gui.cpp
232     newgrf.cpp
233     newgrf.h
234     newgrf_airport.cpp
235     newgrf_airport.h
236     newgrf_airporttiles.cpp
237     newgrf_airporttiles.h
238     newgrf_animation_base.h
239     newgrf_animation_type.h
240     newgrf_callbacks.h
241     newgrf_canal.cpp
242     newgrf_canal.h
243     newgrf_cargo.cpp
244     newgrf_cargo.h
245     newgrf_class.h
246     newgrf_class_func.h
247     newgrf_commons.cpp
248     newgrf_commons.h
249     newgrf_config.cpp
250     newgrf_config.h
251     newgrf_debug.h
252     newgrf_debug_gui.cpp
253     newgrf_engine.cpp
254     newgrf_engine.h
255     newgrf_generic.cpp
256     newgrf_generic.h
257     newgrf_gui.cpp
258     newgrf_house.cpp
259     newgrf_house.h
260     newgrf_industries.cpp
261     newgrf_industries.h
262     newgrf_industrytiles.cpp
263     newgrf_industrytiles.h
264     newgrf_object.cpp
265     newgrf_object.h
266     newgrf_profiling.cpp
267     newgrf_profiling.h
268     newgrf_properties.h
269     newgrf_railtype.cpp
270     newgrf_railtype.h
271     newgrf_roadtype.cpp
272     newgrf_roadtype.h
273     newgrf_sound.cpp
274     newgrf_sound.h
275     newgrf_spritegroup.cpp
276     newgrf_spritegroup.h
277     newgrf_station.cpp
278     newgrf_station.h
279     newgrf_storage.cpp
280     newgrf_storage.h
281     newgrf_text.cpp
282     newgrf_text.h
283     newgrf_town.cpp
284     newgrf_town.h
285     newgrf_townname.cpp
286     newgrf_townname.h
287     news_cmd.h
288     news_func.h
289     news_gui.cpp
290     news_gui.h
291     news_type.h
292     object.h
293     object_base.h
294     object_cmd.cpp
295     object_cmd.h
296     object_gui.cpp
297     object_map.h
298     object_type.h
299     openttd.cpp
300     openttd.h
301     order_backup.cpp
302     order_backup.h
303     order_base.h
304     order_cmd.cpp
305     order_cmd.h
306     order_func.h
307     order_gui.cpp
308     order_type.h
309     osk_gui.cpp
310     pbs.cpp
311     pbs.h
312     progress.cpp
313     progress.h
314     querystring_gui.h
315     rail.cpp
316     rail.h
317     rail_cmd.cpp
318     rail_cmd.h
319     rail_gui.cpp
320     rail_gui.h
321     rail_map.h
322     rail_type.h
323     random_access_file.cpp
324     random_access_file_type.h
325     rev.h
326     road.cpp
327     road.h
328     road_cmd.cpp
329     road_cmd.h
330     road_func.h
331     road_gui.cpp
332     road_gui.h
333     road_internal.h
334     road_map.cpp
335     road_map.h
336     road_type.h
337     roadstop.cpp
338     roadstop_base.h
339     roadveh.h
340     roadveh_cmd.cpp
341     roadveh_cmd.h
342     roadveh_gui.cpp
343     safeguards.h
344     screenshot_gui.cpp
345     screenshot_gui.h
346     screenshot.cpp
347     screenshot.h
348     settings.cpp
349     settings_cmd.h
350     settings_func.h
351     settings_gui.cpp
352     settings_gui.h
353     settings_internal.h
354     settings_table.h
355     settings_table.cpp
356     settings_type.h
357     ship.h
358     ship_cmd.cpp
359     ship_cmd.h
360     ship_gui.cpp
361     signal.cpp
362     signal_func.h
363     signal_type.h
364     signs.cpp
365     signs_base.h
366     signs_cmd.cpp
367     signs_cmd.h
368     signs_func.h
369     signs_gui.cpp
370     signs_type.h
371     slope_func.h
372     slope_type.h
373     smallmap_gui.cpp
374     smallmap_gui.h
375     sortlist_type.h
376     sound.cpp
377     sound_func.h
378     sound_type.h
379     sprite.cpp
380     sprite.h
381     spritecache.cpp
382     spritecache.h
383     station.cpp
384     station_base.h
385     station_cmd.cpp
386     station_cmd.h
387     station_func.h
388     station_gui.cpp
389     station_gui.h
390     station_kdtree.h
391     station_map.h
392     station_type.h
393     statusbar_gui.cpp
394     statusbar_gui.h
395     stdafx.h
396     story.cpp
397     story_base.h
398     story_cmd.h
399     story_gui.cpp
400     story_type.h
401     strgen/strgen.h
402     string.cpp
403     string_base.h
404     string_func.h
405     string_type.h
406     stringfilter.cpp
407     stringfilter_type.h
408     strings.cpp
409     strings_func.h
410     strings_type.h
411     subsidy.cpp
412     subsidy_base.h
413     subsidy_cmd.h
414     subsidy_func.h
415     subsidy_gui.cpp
416     subsidy_type.h
417     tar_type.h
418     terraform_cmd.cpp
419     terraform_cmd.h
420     terraform_gui.cpp
421     terraform_gui.h
422     textbuf.cpp
423     textbuf_gui.h
424     textbuf_type.h
425     texteff.cpp
426     texteff.hpp
427     textfile_gui.cpp
428     textfile_gui.h
429     textfile_type.h
430     tgp.cpp
431     tgp.h
432     thread.h
433     tile_cmd.h
434     tile_map.cpp
435     tile_map.h
436     tile_type.h
437     tilearea.cpp
438     tilearea_type.h
439     tilehighlight_func.h
440     tilehighlight_type.h
441     tilematrix_type.hpp
442     timetable.h
443     timetable_cmd.cpp
444     timetable_cmd.h
445     timetable_gui.cpp
446     toolbar_gui.cpp
447     toolbar_gui.h
448     town.h
449     town_cmd.cpp
450     town_cmd.h
451     town_gui.cpp
452     town_kdtree.h
453     town_map.h
454     town_type.h
455     townname.cpp
456     townname_func.h
457     townname_type.h
458     track_func.h
459     track_type.h
460     train.h
461     train_cmd.cpp
462     train_cmd.h
463     train_gui.cpp
464     transparency.h
465     transparency_gui.cpp
466     transparency_gui.h
467     transport_type.h
468     tree_cmd.cpp
469     tree_cmd.h
470     tree_gui.cpp
471     tree_map.h
472     tunnel_map.cpp
473     tunnel_map.h
474     tunnelbridge.h
475     tunnelbridge_cmd.cpp
476     tunnelbridge_cmd.h
477     tunnelbridge_map.h
478     vehicle.cpp
479     vehicle_base.h
480     vehicle_cmd.cpp
481     vehicle_cmd.h
482     vehicle_func.h
483     vehicle_gui.cpp
484     vehicle_gui.h
485     vehicle_gui_base.h
486     vehicle_type.h
487     vehiclelist.cpp
488     vehiclelist.h
489     viewport.cpp
490     viewport_cmd.h
491     viewport_func.h
492     viewport_gui.cpp
493     viewport_kdtree.h
494     viewport_sprite_sorter.h
495     viewport_type.h
496     void_cmd.cpp
497     void_map.h
498     walltime_func.h
499     water.h
500     water_cmd.cpp
501     water_cmd.h
502     water_map.h
503     waypoint.cpp
504     waypoint_base.h
505     waypoint_cmd.cpp
506     waypoint_cmd.h
507     waypoint_func.h
508     waypoint_gui.cpp
509     widget.cpp
510     widget_type.h
511     window.cpp
512     window_func.h
513     window_gui.h
514     window_type.h
515     zoom_func.h
516     zoom_type.h