~ubuntu-branches/ubuntu/vivid/kate/vivid-updates

« back to all changes in this revision

Viewing changes to addons/kate/katesql/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-12-04 16:49:41 UTC
  • mfrom: (1.6.6)
  • Revision ID: package-import@ubuntu.com-20141204164941-l3qbvsly83hhlw2v
Tags: 4:14.11.97-0ubuntu1
* New upstream release
* Update build-deps and use pkg-kde v3 for Qt 5 build
* kate-data now kate5-data for co-installability

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
if(NOT KDE4_FOUND)
2
 
  find_package(KDE4 REQUIRED)
3
 
  include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )
4
 
endif(NOT KDE4_FOUND)
5
 
 
6
 
include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
7
 
 
8
 
set(katesql_SRCS
9
 
  katesqlplugin.cpp
10
 
  katesqlview.cpp
11
 
  connectionmodel.cpp
12
 
  sqlmanager.cpp
13
 
  cachedsqlquerymodel.cpp
14
 
  dataoutputmodel.cpp
15
 
  dataoutputview.cpp
16
 
  dataoutputwidget.cpp
17
 
  textoutputwidget.cpp
18
 
  schemawidget.cpp
19
 
  schemabrowserwidget.cpp
20
 
  connectionwizard.cpp
21
 
  katesqlconfigpage.cpp
22
 
  exportwizard.cpp
23
 
  outputstylewidget.cpp
24
 
  outputwidget.cpp
25
 
)
26
 
 
27
 
kde4_add_plugin(katesqlplugin ${katesql_SRCS})
28
 
 
29
 
add_subdirectory(pics)
30
 
 
31
 
target_link_libraries(katesqlplugin ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTSQL_LIBRARY} kateinterfaces ${KDE4_KTEXTEDITOR_LIBS} )
32
 
 
33
 
install(TARGETS katesqlplugin DESTINATION ${PLUGIN_INSTALL_DIR} )
34
 
 
35
 
########### install files ###############
36
 
 
37
 
install( FILES ui.rc  DESTINATION  ${DATA_INSTALL_DIR}/kate/plugins/katesql )
38
 
install( FILES katesql.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )