~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to src/platforms/evdev/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Alexandros Frantzis
  • Date: 2015-10-08 16:12:19 UTC
  • mto: This revision was merged to the branch mainline in revision 109.
  • Revision ID: package-import@ubuntu.com-20151008161219-emk4a1ys51yy0wjb
Tags: upstream-0.17.0+15.10.20151008.2
ImportĀ upstreamĀ versionĀ 0.17.0+15.10.20151008.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
include_directories(
 
2
  ${LIBINPUT_CFLAGS} 
2
3
  ${PROJECT_SOURCE_DIR}/include/platform
 
4
  ${PROJECT_SOURCE_DIR}/src/include/platform # udev wrapper
3
5
  ${PROJECT_SOURCE_DIR}/include/common
4
6
  ${PROJECT_SOURCE_DIR}/include/client
5
7
  )
9
11
    input_modifier_utils.cpp
10
12
    )
11
13
 
 
14
add_library(mirplatforminputevdevobjects OBJECT
 
15
    libinput_device.cpp
 
16
    libinput_device_ptr.cpp
 
17
    libinput_ptr.cpp
 
18
    platform.cpp
 
19
    )
 
20
 
 
21
add_library(mirplatforminputevdev MODULE
 
22
  platform_factory.cpp
 
23
  $<TARGET_OBJECTS:mirplatforminputevdevobjects>
 
24
  $<TARGET_OBJECTS:mirevdevutilsobjects>
 
25
)
 
26
 
 
27
set_target_properties(
 
28
  mirplatforminputevdev PROPERTIES
 
29
  OUTPUT_NAME input-evdev
 
30
  LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/server-modules
 
31
  PREFIX ""
 
32
  SUFFIX ".so.${MIR_SERVER_INPUT_PLATFORM_ABI}"
 
33
  LINK_FLAGS "-Wl,--exclude-libs=ALL -Wl,--version-script,${MIR_INPUT_PLATFORM_VERSION_SCRIPT}"
 
34
)
 
35
 
 
36
target_link_libraries(mirplatforminputevdev
 
37
  mirplatform
 
38
  mirclient
 
39
  ${Boost_PROGRAM_OPTIONS_LIBRARY}
 
40
  ${LIBINPUT_LDFLAGS} ${LIBINPUT_LIBRARIES}
 
41
)
 
42
 
 
43
install(TARGETS mirplatforminputevdev LIBRARY DESTINATION ${MIR_SERVER_PLATFORM_PATH})