~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kexi/plugins/reports/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(reports)
 
2
 
 
3
include_directories(
 
4
    ${KOMAIN_INCLUDES}
 
5
    ${CMAKE_SOURCE_DIR}/kexi
 
6
    ${CMAKE_SOURCE_DIR}/kexi/core
 
7
    ${CMAKE_SOURCE_DIR}/kexi/widget
 
8
    ${CMAKE_SOURCE_DIR}/libs/koreport/
 
9
    ${CMAKE_SOURCE_DIR}/libs/koreport/common
 
10
    ${CMAKE_SOURCE_DIR}/libs/koreport/renderer
 
11
    ${KDE4_INCLUDES}
 
12
)
 
13
 
 
14
if (SHOULD_BUILD_KCHART)
 
15
    include_directories(${CMAKE_SOURCE_DIR}/kchart/kdchart/include)
 
16
endif (SHOULD_BUILD_KCHART)
 
17
 
 
18
#build a shared library
 
19
set(kexihandler_report_SRCS
 
20
    kexireports.cpp
 
21
    kexireportpart.cpp
 
22
    kexireportview.cpp
 
23
    kexireportpage.cpp
 
24
    kexireportdesignview.cpp
 
25
    kexidbreportdata.cpp
 
26
    keximigratereportdata.cpp
 
27
    kexisourceselector.cpp
 
28
    krscriptfunctions.cpp
 
29
)
 
30
 
 
31
qt4_wrap_cpp(kexihandler_report_SRCS ../scripting/kexiscripting/kexiscriptadaptor.h)
 
32
 
 
33
kde4_add_plugin(kexihandler_report ${kexihandler_report_SRCS})
 
34
 
 
35
target_link_libraries(kexihandler_report
 
36
    koreport
 
37
    ${KDE4_KDEUI_LIBS}
 
38
    ${QT_QTGUI_LIBRARY}
 
39
    ${QT_QTSCRIPT_LIBRARY}
 
40
    ${KDE4_KPARTS_LIBS}
 
41
    kexidb
 
42
    kexicore
 
43
    keximain
 
44
    ${KOPROPERTY_LIBS}
 
45
    ${QT_QT3SUPPORT_LIBRARY}
 
46
    kexiguiutils
 
47
    keximigrate
 
48
    ${KDE4_KROSSCORE_LIBS}
 
49
)
 
50
 
 
51
install(TARGETS kexihandler_report DESTINATION ${PLUGIN_INSTALL_DIR})
 
52
install(FILES kexireporthandler.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kexi)