~ubuntu-branches/ubuntu/gutsy/soprano/gutsy

« back to all changes in this revision

Viewing changes to queryparsers/rasqal/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-12 14:43:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071012144348-yajzi51v4k23ahxf
Tags: 1.95.0~beta2-1ubuntu1
* Sync with Debian
* Add versioned build-dep on raptor

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(soprano_rasqalqueryparser)
 
2
 
 
3
include_directories(
 
4
  ${QT_QTCORE_INCLUDE_DIR}
 
5
  ${soprano_SOURCE_DIR}
 
6
  ${QT_INCLUDE_DIR}
 
7
  ${REDLAND_INCLUDE_DIR}
 
8
  ${RASQAL_INCLUDE_DIR}
 
9
  ${CMAKE_INSTALL_PREFIX}/include
 
10
  ${soprano_rasqalqueryparser_BINARY_DIR}
 
11
  ${soprano_SOURCE_DIR}
 
12
  ${soprano_core_SOURCE_DIR}
 
13
  ${soprano_core_SOURCE_DIR}/query
 
14
)
 
15
 
 
16
set(rasqalqueryparser_SRC
 
17
  rasqalqueryparser.cpp
 
18
  rasqalqueryparser.h
 
19
)
 
20
 
 
21
qt4_automoc(${rasqalqueryparser_SRC})
 
22
 
 
23
add_library(soprano_rasqalqueryparser SHARED ${rasqalqueryparser_SRC})
 
24
 
 
25
TARGET_LINK_LIBRARIES(soprano_rasqalqueryparser soprano ${RAPTOR_LIBRARIES} ${RASQAL_LIBRARIES} ${REDLAND_LIBRARIES})
 
26
 
 
27
ADD_DEFINITIONS(${REDLAND_CFLAGS})
 
28
 
 
29
set_target_properties(soprano_rasqalqueryparser PROPERTIES
 
30
        DEFINE_SYMBOL MAKE_RASQALQUERYPARSER_LIB
 
31
)
 
32
 
 
33
INSTALL(TARGETS soprano_rasqalqueryparser
 
34
        LIBRARY DESTINATION ${LIB_DESTINATION}/soprano
 
35
        RUNTIME DESTINATION bin/soprano
 
36
        ARCHIVE DESTINATION lib/soprano
 
37
)
 
38
 
 
39
configure_file(rasqalqueryparser.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/rasqalqueryparser.desktop)
 
40
 
 
41
INSTALL(FILES
 
42
  ${CMAKE_CURRENT_BINARY_DIR}/rasqalqueryparser.desktop
 
43
  DESTINATION share/soprano/plugins
 
44
  )