~ubuntu-branches/ubuntu/raring/kbibtex/raring

« back to all changes in this revision

Viewing changes to src/libkbibtexio/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2011-07-18 09:29:48 UTC
  • mfrom: (1.1.6) (2.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20110718092948-ksxjmg7kdfamolmg
Tags: 0.3-1
* First upstream release for KDE4 (Closes: #634255). A number of search
  engines are still missing, in comparison to the 0.2 series.
* Bumped Standards-Version to 3.9.2, no changes necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# KBibTeXIO library
 
2
 
 
3
set( kbibtexio_LIB_SRCS
 
4
        xsltransform.cpp
 
5
        comment.cpp
 
6
        element.cpp
 
7
        encoder.cpp
 
8
        encoderlatex.cpp
 
9
        encoderxml.cpp
 
10
        entry.cpp
 
11
        file.cpp
 
12
        fileinfo.cpp
 
13
        fileexporter.cpp
 
14
        fileexporterbibtex.cpp
 
15
        fileexporterblg.cpp
 
16
        fileexporterpdf.cpp
 
17
        fileexporterps.cpp
 
18
        fileexporterris.cpp
 
19
        fileexporterrtf.cpp
 
20
        fileexportertoolchain.cpp
 
21
        fileexporterbibtex2html.cpp
 
22
        fileexporterxml.cpp
 
23
        fileexporterxslt.cpp
 
24
        fileimporter.cpp
 
25
        fileimporterbibtex.cpp
 
26
        fileimporterris.cpp
 
27
        fileimporterpdf.cpp
 
28
        macro.cpp
 
29
        preamble.cpp
 
30
        iconvlatex.cpp
 
31
        value.cpp
 
32
        config/bibtexfields.cpp
 
33
        config/bibtexentries.cpp
 
34
)
 
35
 
 
36
add_definitions( -DMAKE_KBIBTEXIO_LIB )
 
37
 
 
38
# debug area for KBibTeX's IO library
 
39
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=101011)
 
40
 
 
41
include_directories(
 
42
        ${LIBXML2_INCLUDE_DIR}
 
43
        ${LIBXSLT_INCLUDE_DIR}
 
44
        ${POPPLER_QT4_INCLUDE_DIR}
 
45
        ${CMAKE_CURRENT_SOURCE_DIR}/config/
 
46
)
 
47
 
 
48
kde4_add_library( kbibtexio SHARED ${kbibtexio_LIB_SRCS} )
 
49
 
 
50
target_link_libraries( kbibtexio
 
51
        ${QT_QTCORE_LIBRARY}
 
52
        ${KDE4_KDECORE_LIBS}
 
53
        ${KDE4_KIO_LIBS}
 
54
        ${LIBXML2_LIBRARIES}
 
55
        ${LIBXSLT_LIBRARIES}
 
56
        ${POPPLER_QT4_LIBRARIES}
 
57
)
 
58
 
 
59
install(TARGETS kbibtexio DESTINATION ${LIB_INSTALL_DIR})
 
60