You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.4 KiB
129 lines
3.4 KiB
6 years ago
|
include_directories(
|
||
|
${CMAKE_BINARY_DIR}
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||
|
${TDE_INCLUDE_DIR}
|
||
|
${TQT_INCLUDE_DIRS}
|
||
|
${LIBXML2_INCLUDE_DIR}
|
||
|
${LIBXSLT_INCLUDE_DIR}
|
||
|
${LIBYAZ_INCLUDE_DIRS}
|
||
|
)
|
||
|
|
||
|
link_directories(
|
||
|
${TQT_LIBRARY_DIRS}
|
||
|
${TDE_LIB_DIR}
|
||
|
${LIBXML2_LIB_DIR}
|
||
|
${LIBXSLT_LIB_DIR}
|
||
|
${LIBYAZ_LIBRARY_DIRS}
|
||
|
)
|
||
|
|
||
|
|
||
|
##### kbibtex (executable)
|
||
|
|
||
|
tde_add_executable( ${PROJECT_NAME} AUTOMOC
|
||
|
|
||
|
SOURCES
|
||
|
kbibtexshell.cpp
|
||
|
main.cpp
|
||
|
LINK
|
||
|
tdecore-shared
|
||
|
tdeio-shared
|
||
|
tdeui-shared
|
||
|
tdeparts-shared
|
||
|
|
||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
##### libkbibtexpart (kpart)
|
||
|
|
||
|
tde_add_kpart( libkbibtexpart AUTOMOC
|
||
|
|
||
|
SOURCES
|
||
|
comment.cpp fileexporterdocbook5.cpp
|
||
|
commentwidget.cpp documentlistview.cpp
|
||
|
documentlistviewitem.cpp documentsourceview.cpp
|
||
|
documentwidget.cpp element.cpp
|
||
|
encoder.cpp encoderlatex.cpp
|
||
|
encoderxml.cpp entry.cpp
|
||
|
entryfield.cpp entrywidget.cpp
|
||
|
entrywidgetauthor.cpp entrywidgetexternal.cpp
|
||
|
entrywidgetkeyword.cpp entrywidgetmisc.cpp
|
||
|
entrywidgetother.cpp entrywidgetpublication.cpp
|
||
|
entrywidgetsource.cpp entrywidgettab.cpp
|
||
|
entrywidgettitle.cpp entrywidgetuserdefined.cpp
|
||
|
entrywidgetwarningsitem.cpp z3950connection.cpp
|
||
|
fieldlineedit.cpp fieldlistview.cpp
|
||
|
file.cpp fileexporter.cpp
|
||
|
fileexporterbibtex.cpp fileexporterris.cpp
|
||
|
fileexporterbibutils.cpp fileexporterexternal.cpp
|
||
|
fileexporterpdf.cpp fileexporterps.cpp
|
||
|
fileexporterrtf.cpp fileexportertoolchain.cpp
|
||
|
fileexporterxml.cpp fileexporterxslt.cpp
|
||
|
fileimporter.cpp fileimporterbibtex.cpp
|
||
|
fileimporterbibutils.cpp fileimporterexternal.cpp
|
||
|
fileimporterris.cpp idsuggestions.cpp
|
||
|
idsuggestionswidget.cpp kbibtex_part.cpp
|
||
|
macrowidget.cpp macro.cpp
|
||
|
mergeelements.cpp preamble.cpp
|
||
|
webqueryieeexplore.cpp preamblewidget.cpp
|
||
|
searchbar.cpp settings.cpp
|
||
|
settingsdlg.cpp settingsediting.cpp
|
||
|
settingsfileio.cpp settingsidsuggestions.cpp
|
||
|
settingskeyword.cpp settingssearchurl.cpp
|
||
|
settingsuserdefinedinput.cpp sidebar.cpp value.cpp
|
||
|
valuewidget.cpp webquery.cpp
|
||
|
webqueryamatex.cpp webqueryarxiv.cpp
|
||
|
webqueryciteseerx.cpp webquerybibsonomy.cpp
|
||
|
webquerycsb.cpp webquerycitebase.cpp
|
||
|
webquerydblp.cpp webqueryz3950.cpp
|
||
|
webquerygooglescholar.cpp webquerypubmed.cpp
|
||
|
webqueryspireshep.cpp webqueryzmath.cpp
|
||
|
xsltransform.cpp webquerysciencedirect.cpp
|
||
|
findduplicates.cpp settingsz3950.cpp
|
||
|
messagehandler.cpp iso6937converter.cpp
|
||
|
iso5426converter.cpp webquerymathscinet.cpp
|
||
|
LINK
|
||
|
tdecore-shared
|
||
|
tdeio-shared
|
||
|
tdeui-shared
|
||
|
tdeparts-shared
|
||
|
tdeutils-shared
|
||
|
katepartinterfaces-shared
|
||
|
tdetexteditor
|
||
|
${LIBXML2_LIBRARIES}
|
||
|
${LIBXSLT_LIBRARIES}
|
||
|
${LIBXSLT_EXSLT_LIBRARIES}
|
||
|
${LIBYAZ_LIBRARIES}
|
||
|
|
||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
|
||
|
##### icons
|
||
|
|
||
|
tde_install_icons( )
|
||
|
|
||
|
|
||
|
##### other data
|
||
|
|
||
|
install(
|
||
|
FILES z3950-servers.cfg kbibtex_shell.rc
|
||
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
|
||
|
)
|
||
|
|
||
|
install(
|
||
|
FILES kbibtex_part.desktop
|
||
|
DESTINATION ${SERVICES_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
install(
|
||
|
FILES ${PROJECT_NAME}.desktop
|
||
|
DESTINATION ${XDG_APPS_INSTALL_DIR}
|
||
|
)
|
||
|
|
||
|
install(
|
||
|
FILES kbibtex_part.rc
|
||
|
DESTINATION ${DATA_INSTALL_DIR}/kbibtexpart
|
||
|
)
|