~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to src/client/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-03-10 19:28:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: package-import@ubuntu.com-20140310192846-rq9qm3ec26yrelo2
Tags: upstream-0.1.6+14.04.20140310
ImportĀ upstreamĀ versionĀ 0.1.6+14.04.20140310

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
add_subdirectory(rpc/)
19
19
add_subdirectory(lttng/)
20
20
 
 
21
if(MIR_BUILD_PLATFORM_ANDROID)
 
22
add_subdirectory(android/)
 
23
endif()
 
24
 
 
25
if(MIR_BUILD_PLATFORM_MESA)
 
26
add_subdirectory(mesa/)
 
27
endif()
 
28
 
21
29
set(
22
30
  CLIENT_SOURCES
23
31
 
38
46
  mir_screencast_api.cpp
39
47
)
40
48
 
41
 
if( MIR_PLATFORM STREQUAL "android")
42
 
include_directories(SYSTEM ${LIBHARDWARE_INCLUDE_DIRS})
43
 
set(
44
 
  CLIENT_SOURCES
45
 
 
46
 
  android/android_client_buffer.cpp
47
 
  android/android_client_buffer_factory.cpp
48
 
  android/android_registrar.cpp
49
 
  android/android_client_platform.cpp
50
 
  android/client_surface_interpreter.cpp
51
 
  android/android_native_display_container.cpp
52
 
  ${CLIENT_SOURCES}
53
 
)
54
 
endif()
55
 
 
56
 
if( MIR_PLATFORM STREQUAL "mesa")
57
 
set(
58
 
  CLIENT_SOURCES
59
 
 
60
 
  mesa/client_platform.cpp
61
 
  mesa/client_buffer_factory.cpp
62
 
  mesa/client_buffer.cpp
63
 
  mesa/mesa_native_display_container.cpp
64
 
  mesa/native_surface.cpp
65
 
  ${CLIENT_SOURCES}
66
 
)
67
 
endif()
68
 
 
69
49
add_library(
70
50
  mirclient SHARED
71
51
 
81
61
  SOVERSION ${MIRCLIENT_ABI}
82
62
)
83
63
 
84
 
# Ensure mirclient_compat_links exist before any dependents of mirclient
85
 
add_dependencies(mirclient mirclient_compat_links)
86
 
 
87
64
set(
88
65
  MIR_CLIENT_LIBRARIES
89
66
  ${Boost_LIBRARIES}
90
67
  ${CMAKE_THREAD_LIBS_INIT}
91
 
  ${LIBHARDWARE_LIBRARIES}
92
68
  ${PROTOBUF_LIBRARIES}
93
69
  ${XKBCOMMON_LIBRARIES}
94
70
 
96
72
  mirsharedinput
97
73
  mirsharedlogging
98
74
  mirsharedenv
 
75
  mirsharedsharedlibrary
99
76
  mirclientrpc
100
77
  mirclientlttngstatic
101
78
 
102
 
  ${DRM_LIBRARIES}
103
79
  ${MIR_COMMON_PLATFORM_LIBRARIES}
104
80
 
105
81
  3rd_party