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