~xavi-garcia-mena/keeper/mcloud-provided-crash-test

« back to all changes in this revision

Viewing changes to src/service/CMakeLists.txt

  • Committer: Xavi Garcia Mena
  • Date: 2016-08-11 08:02:47 UTC
  • mfrom: (84.2.1 keeper-real-sf)
  • Revision ID: xavi.garcia.mena@canonical.com-20160811080247-817fvjut6qm54fzq
mergeĀ lp:~xavi-garcia-mena/keeper/link-service-agains-real-sf

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
set(SERVICE_LIB "keeperservice")
2
2
set(SERVICE_EXEC "keeper-service")
 
3
set(SERVICE_LOCAL_EXEC "keeper-service-local")
3
4
 
4
5
include_directories("${CMAKE_SOURCE_DIR}/src")
5
6
include_directories("${CMAKE_BINARY_DIR}/src/qdbus-stubs")
27
28
  ${SERVICE_EXEC_SOURCES}
28
29
)
29
30
 
 
31
add_executable(
 
32
  ${SERVICE_LOCAL_EXEC}
 
33
  ${SERVICE_EXEC_SOURCES}
 
34
)
 
35
 
30
36
link_directories(
31
37
  ${SERVICE_DEPS_LIBRARY_DIRS}
32
38
)
33
39
 
34
 
target_link_libraries(
35
 
  ${SERVICE_EXEC}
36
 
  ${SERVICE_LIB}
 
40
set(
 
41
  SERVICE_STATIC_LIBS
37
42
  util
38
43
  qdbus-stubs
39
44
  storage-framework
40
45
  backup-helper
41
 
  ${SERVICE_DEPS_LIBRARIES}
 
46
)
 
47
 
 
48
target_link_libraries(
 
49
  ${SERVICE_EXEC}
 
50
  ${SERVICE_LIB}
 
51
  ${SERVICE_STATIC_LIBS}
 
52
  ${SERVICE_DEPS_LIBRARIES}
 
53
  ${SERVICE_PRODUCTION_SF_DEPS_LIBRARIES}
 
54
  Qt5::Core
 
55
  Qt5::DBus
 
56
)
 
57
 
 
58
target_link_libraries(
 
59
  ${SERVICE_LOCAL_EXEC}
 
60
  ${SERVICE_LIB}
 
61
  ${SERVICE_STATIC_LIBS}
 
62
  ${SERVICE_DEPS_LIBRARIES}
 
63
  ${SERVICE_DEVEL_SF_DEPS_LIBRARIES}
42
64
  Qt5::Core
43
65
  Qt5::DBus
44
66
)