File: CMakeLists.txt

package info (click to toggle)
widelands 1%3A19%2Brepack-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 370,608 kB
  • ctags: 20,609
  • sloc: cpp: 108,404; ansic: 18,695; python: 5,155; sh: 487; xml: 460; makefile: 233
file content (245 lines) | stat: -rw-r--r-- 5,959 bytes parent folder | download | duplicates (2)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
wl_library(logic_widelands_geometry
  SRCS
    widelands_geometry.cc
    widelands_geometry.h
)

wl_library(logic_game_settings
  SRCS
    game_settings.h
    single_player_game_settings_provider.cc
    single_player_game_settings_provider.h
  DEPENDS
    ai
    base_exceptions
    io_filesystem
    logic
    scripting_lua_interface
    scripting_lua_table
)

wl_library(logic_game_controller
  SRCS
    game_controller.h
    replay_game_controller.h
    replay_game_controller.cc
    single_player_game_controller.h
    single_player_game_controller.cc
  DEPENDS
    ai
    logic
    profile
    ui_basic
    widelands_ball_of_mud
    wui
)

wl_library(logic_campaign_visibility
  SRCS
    campaign_visibility.cc
    campaign_visibility.h
  DEPENDS
    base_exceptions
    io_filesystem
    profile
)

wl_library(logic
  SRCS
    backtrace.cc
    backtrace.h
    cmd_calculate_statistics.cc
    cmd_calculate_statistics.h
    cmd_delete_message.cc
    cmd_delete_message.h
    cmd_incorporate.cc
    cmd_incorporate.h
    cmd_luacoroutine.cc
    cmd_luacoroutine.h
    cmd_luascript.cc
    cmd_luascript.h
    cmd_queue.cc
    cmd_queue.h
    constants.h
    cookie_priority_queue.h
    description_maintainer.h
    editor_game_base.cc
    editor_game_base.h
    field.cc
    field.h
    findbob.cc
    findbob.h
    findimmovable.cc
    findimmovable.h
    findnode.cc
    findnode.h
    game_data_error.cc
    game_data_error.h
    game.cc
    game.h
    map_revision.cc
    map_revision.h
    map.cc
    map.h
    mapastar.cc
    mapastar.h
    mapdifferenceregion.cc
    mapdifferenceregion.h
    mapfringeregion.cc
    mapfringeregion.h
    maphollowregion.cc
    maphollowregion.h
    mapregion.h
    maptriangleregion.cc
    maptriangleregion.h
    message_id.h
    message_queue.h
    message.h
    nodecaps.h
    objective.h
    path.cc
    path.h
    pathfield.cc
    pathfield.h
    player_area.h
    player.cc
    player.h
    playercommand.cc
    playercommand.h
    playersmanager.cc
    playersmanager.h
    queue_cmd_factory.cc
    queue_cmd_factory.h
    queue_cmd_ids.h
    replay.cc
    replay.h
    roadtype.h
    save_handler.cc
    save_handler.h
    widelands_geometry_io.cc
    widelands_geometry_io.h
    widelands.h
    map_objects/attackable.h
    map_objects/bob.cc
    map_objects/bob.h
    map_objects/buildcost.cc
    map_objects/buildcost.h
    map_objects/checkstep.cc
    map_objects/checkstep.h
    map_objects/immovable_program.h
    map_objects/immovable.cc
    map_objects/immovable.h
    map_objects/map_object.cc
    map_objects/map_object.h
    map_objects/terrain_affinity.cc
    map_objects/terrain_affinity.h
    map_objects/walkingdir.cc
    map_objects/walkingdir.h
    map_objects/tribes/battle.cc
    map_objects/tribes/battle.h
    map_objects/tribes/bill_of_materials.h
    map_objects/tribes/building.cc
    map_objects/tribes/building.h
    map_objects/tribes/carrier.cc
    map_objects/tribes/carrier.h
    map_objects/tribes/constructionsite.cc
    map_objects/tribes/constructionsite.h
    map_objects/tribes/dismantlesite.cc
    map_objects/tribes/dismantlesite.h
    map_objects/tribes/militarysite.cc
    map_objects/tribes/militarysite.h
    map_objects/tribes/partially_finished_building.cc
    map_objects/tribes/partially_finished_building.h
    map_objects/tribes/production_program.cc
    map_objects/tribes/production_program.h
    map_objects/tribes/productionsite.cc
    map_objects/tribes/productionsite.h
    map_objects/tribes/program_result.h
    map_objects/tribes/requirements.cc
    map_objects/tribes/requirements.h
    map_objects/tribes/road_textures.cc
    map_objects/tribes/road_textures.h
    map_objects/tribes/ship.cc
    map_objects/tribes/ship.h
    map_objects/tribes/soldier.cc
    map_objects/tribes/soldier.h
    map_objects/tribes/soldiercontrol.h
    map_objects/tribes/training_attribute.h
    map_objects/tribes/trainingsite.cc
    map_objects/tribes/trainingsite.h
    map_objects/tribes/tribe_basic_info.cc
    map_objects/tribes/tribe_basic_info.h
    map_objects/tribes/tribe_descr.cc
    map_objects/tribes/tribe_descr.h
    map_objects/tribes/tribes.cc
    map_objects/tribes/tribes.h
    map_objects/tribes/ware_descr.cc
    map_objects/tribes/ware_descr.h
    map_objects/tribes/warehouse.cc
    map_objects/tribes/warehouse.h
    map_objects/tribes/warelist.cc
    map_objects/tribes/warelist.h
    map_objects/tribes/wareworker.h
    map_objects/tribes/workarea_info.h
    map_objects/tribes/worker_descr.cc
    map_objects/tribes/worker_descr.h
    map_objects/tribes/worker_program.cc
    map_objects/tribes/worker_program.h
    map_objects/tribes/worker.cc
    map_objects/tribes/worker.h
    map_objects/world/critter_program.h
    map_objects/world/critter.cc
    map_objects/world/critter.h
    map_objects/world/editor_category.cc
    map_objects/world/editor_category.h
    map_objects/world/map_gen.cc
    map_objects/world/map_gen.h
    map_objects/world/resource_description.cc
    map_objects/world/resource_description.h
    map_objects/world/terrain_description.cc
    map_objects/world/terrain_description.h
    map_objects/world/world.cc
    map_objects/world/world.h
  # TODO(sirver): Uses SDL2 only on WIN32 for a dirty hack.
  USES_SDL2
  DEPENDS
    ai
    base_exceptions
    base_geometry
    base_i18n
    base_log
    base_macros
    base_md5
    base_scoped_timer
    base_time_string
    build_info
    economy
    editor
    game_io
    graphic
    graphic_color
    graphic_image_io
    graphic_surface
    graphic_text_layout
    helper
    io_fileread
    io_filesystem
    io_stream
    logic_game_controller
    logic_game_settings
    logic_widelands_geometry
    map_io
    map_io_map_loader
    network
    notifications
    random
    scripting_coroutine
    scripting_logic
    scripting_lua_interface
    scripting_lua_table
    sound
    ui_basic
    widelands_ball_of_mud
    wui
    wui_mapview_pixelfunctions
)