diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 83 | ||||
-rw-r--r-- | src/barcode/CMakeLists.txt | 29 | ||||
-rw-r--r-- | src/cite/CMakeLists.txt | 33 | ||||
-rw-r--r-- | src/collections/CMakeLists.txt | 34 | ||||
-rw-r--r-- | src/commands/CMakeLists.txt | 34 | ||||
-rw-r--r-- | src/core/CMakeLists.txt | 56 | ||||
-rw-r--r-- | src/fetch/CMakeLists.txt | 52 | ||||
-rw-r--r-- | src/fetch/scripts/CMakeLists.txt | 29 | ||||
-rw-r--r-- | src/gui/CMakeLists.txt | 36 | ||||
-rw-r--r-- | src/newstuff/CMakeLists.txt | 29 | ||||
-rw-r--r-- | src/rtf2html/CMakeLists.txt | 29 | ||||
-rw-r--r-- | src/tests/CMakeLists.txt | 57 | ||||
-rw-r--r-- | src/translators/CMakeLists.txt | 62 | ||||
-rw-r--r-- | src/translators/Makefile.am | 3 | ||||
-rw-r--r-- | src/translators/btparse/CMakeLists.txt | 29 | ||||
-rw-r--r-- | src/translators/dataimporter.cpp | 1 | ||||
-rw-r--r-- | src/translators/importer.cpp | 1 | ||||
-rw-r--r-- | src/translators/pilotdb/CMakeLists.txt | 35 | ||||
-rw-r--r-- | src/translators/pilotdb/libflatfile/CMakeLists.txt | 29 | ||||
-rw-r--r-- | src/translators/pilotdb/libpalm/CMakeLists.txt | 29 |
20 files changed, 689 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..342ce63 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,83 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR}/core + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/core + ${LIBXML_INCLUDE_DIRS} + ${LIBXSLT_INCLUDE_DIRS} + ${EXEMPI_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${POPPLER_LIBRARY_DIRS} +) + + +##### tellico (executable) ###################### + +tde_add_executable( tellico AUTOMOC + SOURCES + borrower.cpp borrowerdialog.cpp + borroweritem.cpp calendarhandler.cpp collection.cpp collectionfactory.cpp + collectionfieldsdialog.cpp configdialog.cpp controller.cpp detailedentryitem.cpp + detailedlistview.cpp document.cpp entry.cpp entryeditdialog.cpp entrygroupitem.cpp + entryiconfactory.cpp entryiconview.cpp entryitem.cpp entrymerger.cpp entryupdater.cpp + entryview.cpp exportdialog.cpp fetchdialog.cpp fetcherconfigdialog.cpp field.cpp + fieldcompletion.cpp filehandler.cpp filter.cpp filterdialog.cpp filteritem.cpp + filterview.cpp groupiterator.cpp groupview.cpp image.cpp imagefactory.cpp + importdialog.cpp isbnvalidator.cpp iso5426converter.cpp iso6937converter.cpp + listviewcomparison.cpp loandialog.cpp loanitem.cpp loanview.cpp main.cpp mainwindow.cpp + progressmanager.cpp reportdialog.cpp statusbar.cpp tellico_kernel.cpp tellico_strings.cpp + tellico_utils.cpp upcvalidator.cpp viewstack.cpp xmphandler.cpp lccnvalidator.cpp + LINK + core-static gui-static cite-static fetch-static + collections-static newstuff-static translators-static + pilotdb-static pilotdb_flatfile-static pilotdb_palm-static + rtf2html-static commands-static ${BTPARSE_LIBRARIES} ${WEBCAM_LIBRARIES} + tdecore-shared tdefx-shared tdeui-shared tdeio-shared tdehtml-shared + tdetexteditor-shared tdeparts-shared tdenewstuff-shared tdeabc-shared + ${LIBKCAL_LIBRARY} ${LIBKCDDB_LIBRARY} ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES} + ${TAGLIB_LIBRARIES} ${YAZ_LIBRARIES} ${EXEMPI_LIBRARIES} ${POPPLER_LIBRARIES} + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data ################################ +install( + FILES tellicoui.rc + DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME} +) +install( + FILES tellicorc + DESTINATION ${CONFIG_INSTALL_DIR} +) + + +##### directories ############################### + +add_subdirectory( core ) +add_subdirectory( gui ) +add_subdirectory( collections ) +add_subdirectory( translators ) +add_subdirectory( fetch ) +add_subdirectory( commands ) +add_subdirectory( cite ) +add_subdirectory( newstuff ) +add_subdirectory( rtf2html ) +tde_conditional_add_subdirectory( BUILD_WEBCAM_SUPPORT barcode ) +add_subdirectory( tests ) diff --git a/src/barcode/CMakeLists.txt b/src/barcode/CMakeLists.txt new file mode 100644 index 0000000..99079d6 --- /dev/null +++ b/src/barcode/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### barcode (static) ########################## + +tde_add_library( barcode STATIC_PIC AUTOMOC + SOURCES barcode.cpp barcode_v4l.cpp +) diff --git a/src/cite/CMakeLists.txt b/src/cite/CMakeLists.txt new file mode 100644 index 0000000..691d7e8 --- /dev/null +++ b/src/cite/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### cite (static) ############################# + +tde_add_library( cite STATIC_PIC AUTOMOC + SOURCES lyxpipe.cpp actionmanager.cpp clipboard.cpp openoffice.cpp +) + +##### directories ############################### + +tde_conditional_add_subdirectory( BUILD_OOO_SUPPORT ooo ) diff --git a/src/collections/CMakeLists.txt b/src/collections/CMakeLists.txt new file mode 100644 index 0000000..aaef8e2 --- /dev/null +++ b/src/collections/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### collections (static) ###################### + +tde_add_library( collections STATIC_PIC AUTOMOC + SOURCES + winecollection.cpp stampcollection.cpp + comicbookcollection.cpp cardcollection.cpp coincollection.cpp + bibtexcollection.cpp musiccollection.cpp videocollection.cpp + bookcollection.cpp gamecollection.cpp filecatalog.cpp + boardgamecollection.cpp +) diff --git a/src/commands/CMakeLists.txt b/src/commands/CMakeLists.txt new file mode 100644 index 0000000..e0628fc --- /dev/null +++ b/src/commands/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### commands (static) ######################### + +tde_add_library( commands STATIC_PIC AUTOMOC + SOURCES + addentries.cpp modifyentries.cpp removeentries.cpp + addloans.cpp modifyloans.cpp removeloans.cpp + fieldcommand.cpp filtercommand.cpp reorderfields.cpp + group.cpp collectioncommand.cpp renamecollection.cpp + updateentries.cpp +) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt new file mode 100644 index 0000000..7b4bf09 --- /dev/null +++ b/src/core/CMakeLists.txt @@ -0,0 +1,56 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### core (static) ############################# + +set( target core ) + +set( ${target}_SRCS + dcopinterface.cpp dcopinterface.skel drophandler.cpp + netaccess.cpp tellico_config.kcfgc tellico_config_addons.cpp +) + +tde_save( KDE3_DCOPIDL_EXECUTABLE ) +set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} ) +kde3_add_dcop_skels( ${target}_SRCS ) +tde_restore( KDE3_DCOPIDL_EXECUTABLE ) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES ${${target}_SRCS} +) + + +##### other data ################################ +install( + FILES tellico_config.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) +install( + FILES tellico-rename.upd tellico.upd + DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update +) +install( + PROGRAMS tellico-1-3-update.pl + DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update +) diff --git a/src/fetch/CMakeLists.txt b/src/fetch/CMakeLists.txt new file mode 100644 index 0000000..442d17f --- /dev/null +++ b/src/fetch/CMakeLists.txt @@ -0,0 +1,52 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${LIBXML_INCLUDE_DIRS} + ${LIBXSLT_INCLUDE_DIRS} + ${YAZ_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### fetch (static) ############################ + +tde_add_library( fetch STATIC_PIC AUTOMOC + SOURCES + amazonfetcher.cpp animenfofetcher.cpp arxivfetcher.cpp + bibsonomyfetcher.cpp citebasefetcher.cpp configwidget.cpp crossreffetcher.cpp + discogsfetcher.cpp entrezfetcher.cpp execexternalfetcher.cpp fetcher.cpp fetchmanager.cpp + gcstarpluginfetcher.cpp googlescholarfetcher.cpp ibsfetcher.cpp imdbfetcher.cpp + isbndbfetcher.cpp messagehandler.cpp srufetcher.cpp yahoofetcher.cpp z3950connection.cpp + z3950fetcher.cpp amazonrequest.cpp hmac_sha2.c sha2.c + LINK + gui-static +) + + +##### other data ################################ +install( + FILES z3950-servers.cfg + DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME} +) + + +##### directories ############################### + +add_subdirectory( scripts ) diff --git a/src/fetch/scripts/CMakeLists.txt b/src/fetch/scripts/CMakeLists.txt new file mode 100644 index 0000000..0792a6b --- /dev/null +++ b/src/fetch/scripts/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + + +##### other data ################################ +install( + FILES + fr.allocine.py.spec + ministerio_de_cultura.py.spec + dark_horse_comics.py.spec + boardgamegeek.rb.spec + DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/data-sources +) +install( + PROGRAMS + fr.allocine.py + ministerio_de_cultura.py + dark_horse_comics.py + boardgamegeek.rb + DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME}/data-sources +) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt new file mode 100644 index 0000000..ad7279c --- /dev/null +++ b/src/gui/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### gui (static) ############################## + +tde_add_library( gui STATIC_PIC AUTOMOC + SOURCES + combobox.cpp counteditem.cpp datewidget.cpp + tabcontrol.cpp kwidgetlister.cpp stringmapdialog.cpp listview.cpp richtextlabel.cpp + lineedit.cpp boolfieldwidget.cpp choicefieldwidget.cpp linefieldwidget.cpp + numberfieldwidget.cpp parafieldwidget.cpp urlfieldwidget.cpp tablefieldwidget.cpp + imagefieldwidget.cpp datefieldwidget.cpp imagewidget.cpp fieldwidget.cpp ratingwidget.cpp + ratingfieldwidget.cpp overlaywidget.cpp progress.cpp listboxtext.cpp collectiontypecombo.cpp + previewdialog.cpp +) diff --git a/src/newstuff/CMakeLists.txt b/src/newstuff/CMakeLists.txt new file mode 100644 index 0000000..22fed75 --- /dev/null +++ b/src/newstuff/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### newstuff (static) ######################### + +tde_add_library( newstuff STATIC_PIC AUTOMOC + SOURCES manager.cpp dialog.cpp newscript.cpp +) diff --git a/src/rtf2html/CMakeLists.txt b/src/rtf2html/CMakeLists.txt new file mode 100644 index 0000000..400b9a8 --- /dev/null +++ b/src/rtf2html/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### rtf2html (static) ######################### + +tde_add_library( rtf2html STATIC_PIC AUTOMOC + SOURCES fmt_opts.cpp rtf2html.cpp rtf_keyword.cpp rtf_table.cpp +) diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt new file mode 100644 index 0000000..1a00233 --- /dev/null +++ b/src/tests/CMakeLists.txt @@ -0,0 +1,57 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### define tests ############################## + +add_test( isbtest isbntest ) + +add_test( latin1test latin1test ) + +add_test( entitytest entitytest ) + + +##### test programs ############################# + +tde_add_executable( isbntest AUTOMOC + SOURCES + isbntest.cpp + ../isbnvalidator.cpp ../upcvalidator.cpp + LINK + tdecore-shared tdeui-shared +) + +tde_add_executable( latin1test AUTOMOC + SOURCES + latin1test.cpp + LINK + tdecore-shared +) + +tde_add_executable( entitytest AUTOMOC + SOURCES + entitytest.cpp + ../tellico_utils.cpp + LINK + tdecore-shared +) diff --git a/src/translators/CMakeLists.txt b/src/translators/CMakeLists.txt new file mode 100644 index 0000000..459e781 --- /dev/null +++ b/src/translators/CMakeLists.txt @@ -0,0 +1,62 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR}/tde + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### translators (static) ###################### + +tde_add_library( translators STATIC_PIC AUTOMOC + SOURCES + alexandriaexporter.cpp alexandriaimporter.cpp + amcimporter.cpp audiofileimporter.cpp bibtexexporter.cpp bibtexhandler.cpp + bibteximporter.cpp bibtexmlexporter.cpp bibtexmlimporter.cpp csvexporter.cpp + csvimporter.cpp dcimporter.cpp deliciousimporter.cpp exporter.cpp + filelistingimporter.cpp freedb_util.cpp freedbimporter.cpp gcfilmsexporter.cpp + gcfilmsimporter.cpp griffithimporter.cpp grs1importer.cpp htmlexporter.cpp libcsv.c + onixexporter.cpp pdfimporter.cpp pilotdbexporter.cpp referencerimporter.cpp + risimporter.cpp tellico_xml.cpp tellicoimporter.cpp tellicosaximporter.cpp + tellicoxmlexporter.cpp tellicoxmlhandler.cpp tellicozipexporter.cpp textimporter.cpp + xmlimporter.cpp xmlstatehandler.cpp xsltexporter.cpp xslthandler.cpp xsltimporter.cpp + dataimporter.cpp importer.cpp + LINK + gui-static +) + + +##### other data ################################ +install( + FILES bibtex-translation.xml + DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME} +) +install( + PROGRAMS griffith2tellico.py + DESTINATION ${DATA_INSTALL_DIR}/${CMAKE_PROJECT_NAME} +) + + +##### directories ############################### + +if( NOT WITH_LIBBTPARSE ) + add_subdirectory( btparse ) +endif( ) +add_subdirectory( pilotdb ) diff --git a/src/translators/Makefile.am b/src/translators/Makefile.am index f0e8520..e91e182 100644 --- a/src/translators/Makefile.am +++ b/src/translators/Makefile.am @@ -14,7 +14,8 @@ libtranslators_a_SOURCES = alexandriaexporter.cpp alexandriaimporter.cpp \ onixexporter.cpp pdfimporter.cpp pilotdbexporter.cpp referencerimporter.cpp \ risimporter.cpp tellico_xml.cpp tellicoimporter.cpp tellicosaximporter.cpp \ tellicoxmlexporter.cpp tellicoxmlhandler.cpp tellicozipexporter.cpp textimporter.cpp \ - xmlimporter.cpp xmlstatehandler.cpp xsltexporter.cpp xslthandler.cpp xsltimporter.cpp + xmlimporter.cpp xmlstatehandler.cpp xsltexporter.cpp xslthandler.cpp xsltimporter.cpp \ + dataimporter.cpp importer.cpp if !USE_LIBBTPARSE SUBDIR_LIBBTPARSE = btparse diff --git a/src/translators/btparse/CMakeLists.txt b/src/translators/btparse/CMakeLists.txt new file mode 100644 index 0000000..6490c0b --- /dev/null +++ b/src/translators/btparse/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### btparse (static) ########################## + +tde_add_library( btparse STATIC_PIC AUTOMOC + SOURCES bibtex_ast.c bibtex.c err.c ast.c scan.c util.c lex_auxiliary.c parse_auxiliary.c format_name.c string_util.c tex_tree.c names.c modify.c traversal.c sym.c macros.c error.c postprocess.c input.c init.c +) diff --git a/src/translators/dataimporter.cpp b/src/translators/dataimporter.cpp new file mode 100644 index 0000000..1e3e36e --- /dev/null +++ b/src/translators/dataimporter.cpp @@ -0,0 +1 @@ +#include "dataimporter.moc" diff --git a/src/translators/importer.cpp b/src/translators/importer.cpp new file mode 100644 index 0000000..553df2f --- /dev/null +++ b/src/translators/importer.cpp @@ -0,0 +1 @@ +#include "importer.moc" diff --git a/src/translators/pilotdb/CMakeLists.txt b/src/translators/pilotdb/CMakeLists.txt new file mode 100644 index 0000000..1be9904 --- /dev/null +++ b/src/translators/pilotdb/CMakeLists.txt @@ -0,0 +1,35 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### pilotdb (static) ########################## + +tde_add_library( pilotdb STATIC_PIC AUTOMOC + SOURCES pilotdb.cpp strop.cpp +) + + +##### directories ############################### + +add_subdirectory( libflatfile ) +add_subdirectory( libpalm ) diff --git a/src/translators/pilotdb/libflatfile/CMakeLists.txt b/src/translators/pilotdb/libflatfile/CMakeLists.txt new file mode 100644 index 0000000..78c6c29 --- /dev/null +++ b/src/translators/pilotdb/libflatfile/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### pilotdb_flatfile (static) ################# + +tde_add_library( pilotdb_flatfile STATIC_PIC AUTOMOC + SOURCES DB.cpp Database.cpp +) diff --git a/src/translators/pilotdb/libpalm/CMakeLists.txt b/src/translators/pilotdb/libpalm/CMakeLists.txt new file mode 100644 index 0000000..af5d274 --- /dev/null +++ b/src/translators/pilotdb/libpalm/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (C) 2016 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### pilotdb_palm (static) ##################### + +tde_add_library( pilotdb_palm STATIC_PIC AUTOMOC + SOURCES Database.cpp Block.cpp +) |