1
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
2
PROJECT(plee-the-bear-library)
4
SET( LIBPTB_TARGET_NAME plee_the_bear )
6
INCLUDE_DIRECTORIES( ..
1
cmake_minimum_required(VERSION 2.6)
2
project(plee-the-bear-library)
4
set( LIBPTB_TARGET_NAME plee_the_bear )
6
include_directories( ..
7
7
${BEAR_ENGINE_INCLUDE_DIRECTORY}
8
8
${BEAR_GENERIC_ITEMS_INCLUDE_DIRECTORY}
11
11
#-------------------------------------------------------------------------------
12
SET( LIBPTB_SOURCE_FILES
13
code/action_file_player.cpp
12
set( LIBPTB_SOURCE_FILES
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
19
code/game_variables.cpp
23
code/level_information.cpp
20
24
code/level_variables.cpp
26
code/playability_type.cpp
22
28
code/player_action.cpp
23
30
code/speaker_item.cpp
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
45
frame/code/frame_talk.cpp
36
46
frame/code/menu_frame.cpp
37
47
frame/code/message_box.cpp
39
item/code/action_file_player_item.cpp
49
gui/code/horizontal_gauge.cpp
51
gui/code/vertical_gauge.cpp
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
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
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
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
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
113
item/player/code/plee.cpp
114
item/player/code/ray.cpp
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
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
139
144
layer/code/windows_layer.cpp
140
145
layer/code/wireframe_layer.cpp
147
layer/balloon_placement/code/balloon_placement.cpp
149
message/code/balloon_layer_add_message.cpp
150
message/code/get_player_instance.cpp
151
message/code/score_message.cpp
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
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
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
148
ADD_LIBRARY( ${LIBPTB_TARGET_NAME} MODULE ${LIBPTB_SOURCE_FILES} )
193
add_library( ${LIBPTB_TARGET_NAME} MODULE ${LIBPTB_SOURCE_FILES} )
195
set_target_properties(
196
${LIBPTB_TARGET_NAME}
198
INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${PTB_INSTALL_CUSTOM_LIBRARY_DIR}"
150
202
TARGETS ${LIBPTB_TARGET_NAME}
151
203
DESTINATION ${PTB_INSTALL_CUSTOM_LIBRARY_DIR}
154
TARGET_LINK_LIBRARIES(
155
${LIBPTB_TARGET_NAME}
159
${CLAW_CONFIGURATION_FILE_LIBRARIES} )
207
target_link_libraries(
208
${LIBPTB_TARGET_NAME}
212
${CLAW_CONFIGURATION_FILE_LIBRARIES}
215
target_link_libraries(
216
${LIBPTB_TARGET_NAME}
220
${CLAW_CONFIGURATION_FILE_LIBRARIES} )