~thomas-voss/biometryd/remove-obsolete-configuration-header

« back to all changes in this revision

Viewing changes to src/biometry/CMakeLists.txt

  • Committer: Thomas Voß
  • Date: 2016-05-02 06:16:01 UTC
  • Revision ID: thomas.voss@canonical.com-20160502061601-vqzwfw4c0rxfna04
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
file(GLOB_RECURSE BIOMETRYD_PUBLIC_HEADERS ${CMAKE_SOURCE_DIR}/include/*.h)
 
2
 
 
3
set(symbol_map "${CMAKE_SOURCE_DIR}/symbols.map")
 
4
 
 
5
add_subdirectory(qml)
 
6
 
 
7
add_library(
 
8
  biometry SHARED
 
9
 
 
10
  application.cpp
 
11
  daemon.h
 
12
  daemon.cpp
 
13
  device_registry.h
 
14
  device_registry.cpp
 
15
  geometry.cpp
 
16
  percent.cpp
 
17
  progress.cpp
 
18
  reason.cpp
 
19
  runtime.h
 
20
  runtime.cpp
 
21
  tracing_operation_observer.h
 
22
  user.cpp
 
23
  variant.cpp
 
24
  version.cpp
 
25
  
 
26
  cmds/enroll.h
 
27
  cmds/enroll.cpp
 
28
  cmds/identify.h
 
29
  cmds/identify.cpp
 
30
  cmds/list_devices.h
 
31
  cmds/list_devices.cpp
 
32
  cmds/help.h
 
33
  cmds/help.cpp
 
34
  cmds/version.h
 
35
  cmds/version.cpp
 
36
 
 
37
  dbus/codec.h
 
38
  dbus/interface.h
 
39
  dbus/service.cpp
 
40
  dbus/stub/service.h
 
41
  dbus/stub/service.cpp
 
42
  dbus/stub/device.h
 
43
  dbus/stub/device.cpp
 
44
  dbus/stub/template_store.h
 
45
  dbus/stub/template_store.cpp
 
46
  dbus/stub/identifier.h
 
47
  dbus/stub/identifier.cpp
 
48
  dbus/stub/observer.h
 
49
  dbus/stub/operation.h
 
50
 
 
51
  dbus/skeleton/service.h
 
52
  dbus/skeleton/service.cpp
 
53
  dbus/skeleton/device.h
 
54
  dbus/skeleton/device.cpp
 
55
  dbus/skeleton/template_store.h
 
56
  dbus/skeleton/template_store.cpp
 
57
  dbus/skeleton/identifier.h
 
58
  dbus/skeleton/identifier.cpp
 
59
  dbus/skeleton/observer.h
 
60
  dbus/skeleton/operation.h
 
61
 
 
62
  devices/fingerprint_reader.cpp
 
63
  devices/forwarding.h
 
64
  devices/forwarding.cpp
 
65
 
 
66
  devices/plugin/device.h
 
67
  devices/plugin/device.cpp
 
68
  devices/plugin/loader.h
 
69
  devices/plugin/loader.cpp
 
70
 
 
71
  ${BIOMETRYD_PUBLIC_HEADERS})
 
72
 
 
73
set_target_properties(
 
74
  biometry
 
75
 
 
76
  PROPERTIES
 
77
  LINK_FLAGS "${ldflags} -Wl,--version-script,${symbol_map}"
 
78
  LINK_DEPENDS ${symbol_map}
 
79
  VERSION ${BIOMETRYD_VERSION_MAJOR}.${BIOMETRYD_VERSION_MINOR}.${BIOMETRYD_SERVICE_VERSION_PATCH}
 
80
  SOVERSION ${BIOMETRYD_VERSION_MAJOR}
 
81
)
 
82
 
 
83
target_link_libraries(
 
84
  biometry
 
85
 
 
86
  util
 
87
 
 
88
  elf
 
89
 
 
90
  ${Boost_LIBRARIES}
 
91
  ${DBUS_CPP_LIBRARIES}
 
92
  ${PROCESS_CPP_LIBRARIES}
 
93
  ${SQLITE3_LIBRARIES})
 
94
 
 
95
add_executable(
 
96
  biometryd
 
97
  daemon_main.cpp)
 
98
 
 
99
target_link_libraries(
 
100
  biometryd
 
101
 
 
102
  biometry)
 
103
 
 
104
install(
 
105
  TARGETS biometry
 
106
  LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 
107
)
 
108
 
 
109
install(
 
110
  TARGETS biometryd
 
111
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 
112
)