~ubuntu-branches/ubuntu/natty/plee-the-bear/natty

« back to all changes in this revision

Viewing changes to plee-the-bear/src/ptb/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Julien Jorge, Julien Jorge
  • Date: 2010-11-17 20:13:34 UTC
  • mfrom: (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20101117201334-o4dp7uq437to7oxb
Tags: 0.5.1-1
[ Julien Jorge ]
* New upstream release (Closes: #565062, #546514).
* Add armhf architecture (Closes: #604689).
* Remove patches integrated upstream: rpath-editors.diff, rpath-game.diff,
  editors-menu-section.diff.
* Bump the Standard-Version, no changes.
* Update my email address.
* Set build dependency of libclaw to 1.6.0.
* Add the missing ${misc:Depends} in debian/control.
* List gettext translations in bear-factory.install and plee-the-bear.install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
2
 
PROJECT(plee-the-bear-library)
3
 
 
4
 
SET( LIBPTB_TARGET_NAME plee_the_bear )
5
 
 
6
 
INCLUDE_DIRECTORIES( ..
 
1
cmake_minimum_required(VERSION 2.6)
 
2
project(plee-the-bear-library)
 
3
 
 
4
set( LIBPTB_TARGET_NAME plee_the_bear )
 
5
 
 
6
include_directories( ..
7
7
  ${BEAR_ENGINE_INCLUDE_DIRECTORY}
8
8
  ${BEAR_GENERIC_ITEMS_INCLUDE_DIRECTORY}
9
9
  )
10
10
 
11
11
#-------------------------------------------------------------------------------
12
 
SET( LIBPTB_SOURCE_FILES
13
 
  code/action_file_player.cpp
 
12
set( LIBPTB_SOURCE_FILES
 
13
  code/balloon.cpp
14
14
  code/config_file.cpp
15
15
  code/controller_config.cpp
16
16
  code/controller_layout.cpp
17
17
  code/base_bonus.cpp
 
18
  code/end.cpp
18
19
  code/game_variables.cpp
 
20
  code/gauge.cpp
 
21
  code/gui_command.cpp
19
22
  code/init.cpp
 
23
  code/level_information.cpp
20
24
  code/level_variables.cpp
21
25
  code/monster.cpp
 
26
  code/playability_type.cpp
 
27
  code/player.cpp
22
28
  code/player_action.cpp
 
29
  code/score_table.cpp
23
30
  code/speaker_item.cpp
 
31
  code/util.cpp
24
32
 
25
33
  frame/code/frame.cpp
26
34
  frame/code/frame_audio.cpp
27
35
  frame/code/frame_configure.cpp
28
36
  frame/code/frame_game_options.cpp
 
37
  frame/code/frame_level_score.cpp
29
38
  frame/code/frame_main_menu.cpp
30
39
  frame/code/frame_pause.cpp
31
40
  frame/code/frame_password.cpp
 
41
  frame/code/frame_play_mini_game.cpp
32
42
  frame/code/frame_player_controls.cpp
33
43
  frame/code/frame_screen.cpp
34
44
  frame/code/frame_start_menu.cpp
35
 
  frame/code/menu.cpp
 
45
  frame/code/frame_talk.cpp
36
46
  frame/code/menu_frame.cpp
37
47
  frame/code/message_box.cpp
38
48
 
39
 
  item/code/action_file_player_item.cpp
 
49
  gui/code/horizontal_gauge.cpp
 
50
  gui/code/key_edit.cpp
 
51
  gui/code/vertical_gauge.cpp
 
52
 
40
53
  item/code/action_file_recorder.cpp
41
54
  item/code/add_ingame_layers.cpp
 
55
  item/code/add_players_camera.cpp
42
56
  item/code/add_main_menu_layer.cpp
43
57
  item/code/air_bubble.cpp
44
58
  item/code/air_bubble_generator.cpp
45
 
  item/code/azelnut.cpp
 
59
  item/code/authorize_action_toggle.cpp
46
60
  item/code/bonus_box.cpp
47
61
  item/code/checkpoint.cpp
48
62
  item/code/clingable.cpp
49
63
  item/code/corrupting_bonus.cpp
50
64
  item/code/demo_level_loader.cpp
51
65
  item/code/floating_score.cpp
 
66
  item/code/game_settings.cpp
 
67
  item/code/god.cpp
52
68
  item/code/gossipy_item.cpp
 
69
  item/code/hazelnut.cpp
53
70
  item/code/headstone.cpp
54
71
  item/code/hideout_revealing.cpp
55
72
  item/code/honeypot.cpp
58
75
  item/code/level_exit.cpp
59
76
  item/code/level_pusher.cpp
60
77
  item/code/level_popper.cpp
 
78
  item/code/level_score_record.cpp
 
79
  item/code/level_settings.cpp
61
80
  item/code/little_plee.cpp
62
81
  item/code/link_on_players.cpp
 
82
  item/code/mini_game_unlock_item.cpp
63
83
  item/code/on_players_activator.cpp
 
84
  item/code/one_or_two_players_toggle.cpp
64
85
  item/code/owl.cpp
65
86
  item/code/passive_enemy.cpp
66
87
  item/code/player_killer.cpp
 
88
  item/code/player_killer_toggle.cpp
 
89
  item/code/players_present.cpp
 
90
  item/code/player_settings.cpp
67
91
  item/code/player_speaker_zone.cpp
68
92
  item/code/player_start_position.cpp
69
93
  item/code/player_stop_block.cpp
72
96
  item/code/projectile_enemy.cpp
73
97
  item/code/projectile_enemy_zone.cpp
74
98
  item/code/save_player_position.cpp
 
99
  item/code/script_actor_player.cpp
 
100
  item/code/script_director.cpp
75
101
  item/code/shared_camera.cpp
76
102
  item/code/small_honeypot.cpp
77
103
  item/code/soul.cpp
78
104
  item/code/spring.cpp
 
105
  item/code/stone_tracer.cpp
79
106
  item/code/timer_kill_players.cpp
80
107
  item/code/two_players_only.cpp
81
108
 
82
 
  item/plee/code/gauge.cpp
83
 
  item/plee/code/plee.cpp
84
 
  item/plee/code/state_captive.cpp  
85
 
  item/plee/code/state_cling.cpp
86
 
  item/plee/code/state_clung_jump.cpp
87
 
  item/plee/code/state_crouch.cpp
88
 
  item/plee/code/state_dead.cpp
89
 
  item/plee/code/state_fall.cpp
90
 
  item/plee/code/state_float.cpp
91
 
  item/plee/code/state_hang.cpp
92
 
  item/plee/code/state_game_over.cpp
93
 
  item/plee/code/state_idle.cpp
94
 
  item/plee/code/state_injured.cpp
95
 
  item/plee/code/state_jump.cpp
96
 
  item/plee/code/state_look_upward.cpp
97
 
  item/plee/code/state_maintain.cpp
98
 
  item/plee/code/state_plee.cpp
99
 
  item/plee/code/state_roar.cpp 
100
 
  item/plee/code/state_run.cpp
101
 
  item/plee/code/state_slap.cpp
102
 
  item/plee/code/state_start_cling.cpp
103
 
  item/plee/code/state_start_hang.cpp
104
 
  item/plee/code/state_start_jump.cpp
105
 
  item/plee/code/state_throw.cpp
106
 
  item/plee/code/state_sink.cpp
107
 
  item/plee/code/state_swimming.cpp
108
 
  item/plee/code/state_vertical_jump.cpp
109
 
  item/plee/code/state_wait.cpp
110
 
  item/plee/code/state_walk.cpp
 
109
  item/mini-game/code/sequencer.cpp
 
110
  item/mini-game/code/sequencer_control.cpp
 
111
  item/mini-game/code/stone_target.cpp
111
112
 
 
113
  item/player/code/plee.cpp
 
114
  item/player/code/ray.cpp
 
115
  
112
116
  item/stone/code/air_fire_stone.cpp
113
117
  item/stone/code/air_fire_water_stone.cpp
114
118
  item/stone/code/air_water_stone.cpp
118
122
  item/stone/code/water_fire_stone.cpp
119
123
  item/stone/code/water_stone.cpp
120
124
 
 
125
  item/forest/code/frog.cpp
121
126
  item/forest/code/gorilla.cpp
122
127
  item/forest/code/sting.cpp
 
128
  item/forest/code/rabbit.cpp
123
129
  item/forest/code/wasp.cpp
124
130
  item/forest/code/woodpecker.cpp
125
131
 
130
136
  layer/code/ingame_menu_layer.cpp
131
137
  layer/code/item_information_layer.cpp
132
138
  layer/code/link_layer.cpp
133
 
  layer/code/log_layer.cpp
134
139
  layer/code/main_menu_layer.cpp
135
140
  layer/code/misc_layer.cpp 
136
141
  layer/code/player_arrows_layer.cpp
139
144
  layer/code/windows_layer.cpp
140
145
  layer/code/wireframe_layer.cpp
141
146
 
 
147
  layer/balloon_placement/code/balloon_placement.cpp
 
148
 
 
149
  message/code/balloon_layer_add_message.cpp
 
150
  message/code/get_player_instance.cpp
 
151
  message/code/score_message.cpp
 
152
 
 
153
  player_state/code/state_captive.cpp  
 
154
  player_state/code/state_cling.cpp
 
155
  player_state/code/state_clung_jump.cpp
 
156
  player_state/code/state_crouch.cpp
 
157
  player_state/code/state_dead.cpp
 
158
  player_state/code/state_fall.cpp
 
159
  player_state/code/state_float.cpp
 
160
  player_state/code/state_hang.cpp
 
161
  player_state/code/state_game_over.cpp
 
162
  player_state/code/state_idle.cpp
 
163
  player_state/code/state_injured.cpp
 
164
  player_state/code/state_jump.cpp
 
165
  player_state/code/state_look_upward.cpp
 
166
  player_state/code/state_maintain.cpp
 
167
  player_state/code/state_player.cpp
 
168
  player_state/code/state_roar.cpp 
 
169
  player_state/code/state_run.cpp
 
170
  player_state/code/state_slap.cpp
 
171
  player_state/code/state_start_cling.cpp
 
172
  player_state/code/state_start_hang.cpp
 
173
  player_state/code/state_start_jump.cpp
 
174
  player_state/code/state_throw.cpp
 
175
  player_state/code/state_sink.cpp
 
176
  player_state/code/state_swimming.cpp
 
177
  player_state/code/state_vertical_jump.cpp
 
178
  player_state/code/state_wait.cpp
 
179
  player_state/code/state_walk.cpp
 
180
 
 
181
  throwable_item/code/hazelnut_throwable_item.cpp
 
182
  throwable_item/code/honeypot_throwable_item.cpp
 
183
  throwable_item/code/throwable_item.cpp
 
184
  throwable_item/code/throwable_items_container.cpp
 
185
  throwable_item/code/stone_throwable_item.cpp
 
186
  
142
187
  transition_effect/code/game_over_effect.cpp
143
188
  transition_effect/code/invincibility_effect.cpp
144
189
  transition_effect/code/level_ending_effect.cpp
145
190
  transition_effect/code/level_starting_effect.cpp
146
191
)
147
192
 
148
 
ADD_LIBRARY( ${LIBPTB_TARGET_NAME} MODULE ${LIBPTB_SOURCE_FILES} )
149
 
INSTALL(
 
193
add_library( ${LIBPTB_TARGET_NAME} MODULE ${LIBPTB_SOURCE_FILES} )
 
194
 
 
195
set_target_properties(
 
196
  ${LIBPTB_TARGET_NAME}
 
197
  PROPERTIES
 
198
  INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${PTB_INSTALL_CUSTOM_LIBRARY_DIR}"
 
199
  )
 
200
 
 
201
install(
150
202
  TARGETS ${LIBPTB_TARGET_NAME}
151
203
  DESTINATION ${PTB_INSTALL_CUSTOM_LIBRARY_DIR}
152
204
  )
153
205
 
154
 
TARGET_LINK_LIBRARIES(
155
 
  ${LIBPTB_TARGET_NAME}
156
 
  bear_engine
157
 
  bear_generic_items
158
 
  bear_gui
159
 
  ${CLAW_CONFIGURATION_FILE_LIBRARIES} )
 
206
if(WIN32)
 
207
  target_link_libraries(
 
208
    ${LIBPTB_TARGET_NAME}
 
209
    bear_engine
 
210
    bear_generic_items
 
211
    bear_gui
 
212
    ${CLAW_CONFIGURATION_FILE_LIBRARIES}
 
213
    intl )
 
214
else(WIN32)
 
215
  target_link_libraries(
 
216
    ${LIBPTB_TARGET_NAME}
 
217
    bear_engine
 
218
    bear_generic_items
 
219
    bear_gui
 
220
    ${CLAW_CONFIGURATION_FILE_LIBRARIES} )
 
221
endif(WIN32)