~ci-train-bot/platform-api/platform-api-ubuntu-xenial-landing-042

« back to all changes in this revision

Viewing changes to src/ubuntu/application/desktop/CMakeLists.txt

  • Committer: CI Train Bot
  • Author(s): Alberto Aguirre
  • Date: 2015-07-06 17:53:00 UTC
  • mfrom: (300.2.3 remove-mirserver)
  • Revision ID: ci-train-bot@canonical.com-20150706175300-zty9yt763vxe8k05
Remove the unused mirserver component
Approved by: PS Jenkins bot, Robert Carr

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
  ubuntu_application_sensors_desktop.cpp
9
9
)
10
10
 
11
 
add_library(
12
 
  ubuntu_application_api_desktop_mirserver MODULE
13
 
 
14
 
  module.cpp
15
 
  module_version.h
16
 
  ubuntu_application_sensors_desktop.cpp
17
 
)
18
 
 
19
11
target_link_libraries(
20
12
  ubuntu_application_api_desktop_mirclient
21
13
 
22
14
  "-Wl,--whole-archive"
23
15
  ubuntu_application_api_mirclient
24
 
  ubuntu_application_api_mircommon
25
 
  ${UBUNTU_APPLICATION_API_LINK_LIBRARIES}
26
 
  "-Wl,--no-whole-archive"
27
 
  #TODO: Alarms
28
 
)
29
 
 
30
 
target_link_libraries(
31
 
  ubuntu_application_api_desktop_mirserver
32
 
 
33
 
  "-Wl,--whole-archive"
34
 
  ubuntu_application_api_mirserver
35
 
  ubuntu_application_api_mircommon
36
16
  ${UBUNTU_APPLICATION_API_LINK_LIBRARIES}
37
17
  "-Wl,--no-whole-archive"
38
18
  #TODO: Alarms
45
25
  SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}
46
26
)
47
27
 
48
 
set_target_properties(
49
 
  ubuntu_application_api_desktop_mirserver
50
 
  PROPERTIES
51
 
  VERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}.${UBUNTU_PLATFORM_API_VERSION_MINOR}.${UBUNTU_PLATFORM_API_VERSION_PATCH}
52
 
  SOVERSION ${UBUNTU_PLATFORM_API_VERSION_MAJOR}
53
 
)
54
28
install(
55
29
  TARGETS ubuntu_application_api_desktop_mirclient
56
30
  # this is not a development library to compile against, users should always
57
31
  # specify the SONAME; so don't build a *.so
58
32
  LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP
59
33
)
60
 
 
61
 
install(
62
 
  TARGETS ubuntu_application_api_desktop_mirserver
63
 
  # this is not a development library to compile against, users should always
64
 
  # specify the SONAME; so don't build a *.so
65
 
  LIBRARY DESTINATION "${LIB_INSTALL_DIR}" NAMELINK_SKIP
66
 
)