~ubuntu-branches/ubuntu/trusty/plee-the-bear/trusty-proposed

« back to all changes in this revision

Viewing changes to bear-engine/core/src/input/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
 
SET( INPUT_TARGET_NAME bear_input )
 
1
set( INPUT_TARGET_NAME bear_input )
2
2
 
3
3
#-------------------------------------------------------------------------------
4
 
SET( INPUT_SOURCE_FILES
 
4
set( INPUT_SOURCE_FILES
 
5
  code/controller_button.cpp
5
6
  code/input_listener.cpp
6
7
  code/input_status.cpp
7
8
  code/joystick.cpp
16
17
  code/system.cpp
17
18
)
18
19
 
19
 
ADD_LIBRARY(
 
20
add_library(
20
21
  ${INPUT_TARGET_NAME}
21
22
  ${BEAR_ENGINE_CORE_LINK_TYPE}
22
23
  ${INPUT_SOURCE_FILES}
23
24
  )
24
25
 
25
 
INSTALL(
 
26
set_target_properties(
 
27
  ${INPUT_TARGET_NAME}
 
28
  PROPERTIES
 
29
  INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${BEAR_ENGINE_INSTALL_LIBRARY_DIR}"
 
30
  )
 
31
 
 
32
install(
26
33
  TARGETS ${INPUT_TARGET_NAME}
27
34
  DESTINATION ${BEAR_ENGINE_INSTALL_LIBRARY_DIR}
28
35
  )
29
36
 
30
 
TARGET_LINK_LIBRARIES(
31
 
  ${INPUT_TARGET_NAME} ${SDL_LIBRARY} ${CLAW_LOGGER_LIBRARIES} )
 
37
if(WIN32)
 
38
  SET(INPUT_WIN32_LIBRARIES intl)
 
39
endif(WIN32)
 
40
 
 
41
target_link_libraries(
 
42
  ${INPUT_TARGET_NAME}
 
43
  ${SDL_LIBRARY}
 
44
  ${CLAW_LOGGER_LIBRARIES}
 
45
  ${INPUT_WIN32_LIBRARIES}
 
46
  )