~thomas-voss/location-service/add-ichnaea-provider-next

« back to all changes in this revision

Viewing changes to src/location/CMakeLists.txt

  • Committer: Thomas Voß
  • Date: 2016-07-13 14:06:18 UTC
  • Revision ID: thomas.voss@canonical.com-20160713140618-k3rmfj6ydyx82q95
First wave of removals of obsolete code and targets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
  add_definitions(-DLOCATION_HAVE_UBUNTU_PLATFORM_HARDWARE_API)
3
3
endif()
4
4
 
5
 
set(ICHNAEA_REPORTER_SRCS service/ichnaea_reporter.cpp)
6
 
 
7
5
add_subdirectory(providers)
8
6
 
9
7
configure_file(
10
 
  service/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/service/config.h @ONLY
 
8
  config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h @ONLY
11
9
)
12
10
 
13
11
include_directories(${UBUNTU_PLATFORM_HARDWARE_API_INCLUDE_DIRS})
24
22
  criteria.cpp
25
23
  engine.cpp
26
24
  fusion_provider.cpp
27
 
  init_and_shutdown.cpp
28
25
  position.cpp
29
26
  provider.cpp
30
27
  provider_factory.cpp
61
58
 
62
59
  cmds/list.h
63
60
  cmds/list.cpp
 
61
  cmds/monitor.h
 
62
  cmds/monitor.cpp
64
63
  cmds/provider.h
65
64
  cmds/provider.cpp
66
65
  cmds/run.h
86
85
  dbus/stub/session.h
87
86
  dbus/stub/session.cpp
88
87
 
89
 
  service/default_configuration.cpp
90
 
  service/default_permission_manager.cpp
91
 
  service/harvester.cpp
92
 
  service/demultiplexing_reporter.h
93
 
  service/demultiplexing_reporter.cpp
94
 
  service/runtime.cpp
95
 
  service/runtime_tests.h
96
 
  service/runtime_tests.cpp
97
 
  service/state.cpp
98
 
  service/trust_store_permission_manager.cpp
99
 
 
100
 
  service/implementation.cpp
101
 
  service/skeleton.cpp
102
 
  service/stub.cpp
103
 
 
104
 
  service/session/implementation.cpp
105
 
  service/session/interface.cpp
106
 
  service/session/skeleton.cpp
107
 
  service/session/stub.cpp
108
 
 
109
88
  providers/config.cpp
110
89
 
111
90
  providers/remote/provider.cpp
112
91
  providers/remote/skeleton.cpp
113
92
  providers/remote/stub.cpp
114
 
 
115
 
  ${ICHNAEA_REPORTER_SRCS}
116
93
)
117
94
 
118
95
add_library(
195
172
  DESTINATION ${CMAKE_INSTALL_LIBDIR}
196
173
)
197
174
 
198
 
add_library(
199
 
  ubuntu-location-service-provider-daemon
200
 
 
201
 
  service/provider_daemon.cpp
202
 
)
203
 
 
204
 
add_library(
205
 
  ubuntu-location-service-daemon
206
 
 
207
 
  service/daemon.cpp
208
 
)
209
 
 
210
 
add_executable(
211
 
  ubuntu-location-service-providerd
212
 
 
213
 
  service/provider_daemon_main.cpp
214
 
)
215
 
 
216
 
add_executable(
217
 
  ubuntu-location-serviced
218
 
 
219
 
  service/daemon_main.cpp
220
 
)
221
 
 
222
 
add_executable(
223
 
  ubuntu-location-serviced-cli
224
 
 
225
 
  service/daemon_cli_main.cpp
226
 
)
227
 
 
228
175
add_executable(
229
176
  locationd
230
177
 
232
179
)
233
180
 
234
181
target_link_libraries(
235
 
  ubuntu-location-service-provider-daemon
236
 
 
237
 
  ubuntu-location-service
238
 
)
239
 
 
240
 
target_link_libraries(
241
 
  ubuntu-location-service-daemon
242
 
 
243
 
  ubuntu-location-service
244
 
)
245
 
 
246
 
target_link_libraries(
247
 
  ubuntu-location-service-providerd
248
 
 
249
 
  ubuntu-location-service-provider-daemon
250
 
 
251
 
  ${ENABLED_PROVIDER_TARGETS}
252
 
 
253
 
  ${Boost_LIBRARIES}
254
 
  ${DBUS_LIBRARIES}
255
 
  ${DBUS_CPP_LIBRARIES}
256
 
  ${GLog_LIBRARY}
257
 
  ${GFlags_LIBRARY}
258
 
)
259
 
 
260
 
target_link_libraries(
261
 
  ubuntu-location-serviced
262
 
 
263
 
  ubuntu-location-service-daemon
264
 
 
265
 
  ${ENABLED_PROVIDER_TARGETS}
266
 
 
267
 
  ${Boost_LIBRARIES}
268
 
  ${DBUS_LIBRARIES}
269
 
  ${DBUS_CPP_LIBRARIES}
270
 
  ${GLog_LIBRARY}
271
 
  ${GFlags_LIBRARY}
272
 
)
273
 
 
274
 
target_link_libraries(
275
 
  ubuntu-location-serviced-cli
276
 
 
277
 
  ubuntu-location-service-daemon
278
 
 
279
 
  ${ENABLED_PROVIDER_TARGETS}
280
 
 
281
 
  ${Boost_LIBRARIES}
282
 
  ${DBUS_LIBRARIES}
283
 
  ${DBUS_CPP_LIBRARIES}
284
 
  ${GLog_LIBRARY}
285
 
  ${GFlags_LIBRARY}
286
 
)
287
 
 
288
 
target_link_libraries(
289
182
  locationd
290
183
 
291
184
  ubuntu-location-service
292
185
 
293
186
  ${ENABLED_PROVIDER_TARGETS}
294
 
 
295
 
#  ${Boost_LIBRARIES}
296
 
#  ${DBUS_LIBRARIES}
297
 
#  ${DBUS_CPP_LIBRARIES}
298
 
#  ${GLog_LIBRARY}
299
 
#  ${GFlags_LIBRARY}
300
 
)
301
 
 
302
 
install(
303
 
  TARGETS ubuntu-location-service-providerd
304
 
  DESTINATION ${CMAKE_INSTALL_BINDIR}
305
 
)
306
 
 
307
 
install(
308
 
  TARGETS ubuntu-location-serviced
309
 
  DESTINATION ${CMAKE_INSTALL_BINDIR}
310
 
)
311
 
 
312
 
install(
313
 
  TARGETS ubuntu-location-serviced-cli
314
 
  DESTINATION ${CMAKE_INSTALL_BINDIR}
315
187
)
316
188
 
317
189
install(