~ubuntu-branches/ubuntu/quantal/kde-runtime/quantal

« back to all changes in this revision

Viewing changes to nepomuk/services/backupsync/lib/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-06-03 21:50:00 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120603215000-vn7oarsq0ynrydj5
Tags: upstream-4.8.80
Import upstream version 4.8.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
project(libnepomuksync)
2
 
 
3
 
find_package(KDE4 REQUIRED)
4
 
find_package(Nepomuk REQUIRED)
5
 
 
6
 
include(KDE4Defaults)
7
 
include(SopranoAddOntology)
8
 
 
9
 
include_directories(
10
 
  ${QT_INCLUDES}
11
 
  ${KDE4_INCLUDES}
12
 
  ${KDE4_KDECORE_INCLUDES}
13
 
  ${SOPRANO_INCLUDE_DIR}
14
 
  ${NEPOMUK_INCLUDE_DIR}
15
 
)
16
 
 
17
 
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
18
 
add_definitions(-DDISABLE_NEPOMUK_LEGACY=1)
19
 
 
20
 
set(nepomuksync_SRCS
21
 
    resourcemerger.cpp
22
 
    resourceidentifier.cpp
23
 
    identificationsetgenerator.cpp
24
 
    syncresource.cpp
25
 
)
26
 
 
27
 
soprano_add_ontology(nepomuksync_SRCS
28
 
   ${CMAKE_CURRENT_SOURCE_DIR}/../../../ontologies/nrio.trig
29
 
  "NRIO"
30
 
  "Nepomuk::Vocabulary"
31
 
  "trig")
32
 
 
33
 
kde4_add_library(nepomuksync SHARED ${nepomuksync_SRCS})
34
 
 
35
 
set_target_properties(nepomuksync PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
36
 
 
37
 
target_link_libraries(nepomuksync
38
 
  ${QT_QTCORE_LIBRARY}
39
 
  ${SOPRANO_LIBRARIES}
40
 
  ${NEPOMUK_LIBRARIES}
41
 
  ${NEPOMUK_QUERY_LIBRARIES}
42
 
  ${KDE4_KIO_LIBS}
43
 
  kdecore
44
 
  )
45
 
 
46
 
install(TARGETS nepomuksync EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
47
 
#
48
 
# install(FILES
49
 
#     resourceidentifier.h
50
 
#     resourcemerger.h
51
 
#     syncresource.h
52
 
#     nepomuksync_export.h
53
 
#     DESTINATION ${INCLUDE_INSTALL_DIR}/nepomuk COMPONENT Devel
54
 
# )