diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fda2e5e7..eb5948533 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ if(Qt5_FOUND) add_subdirectory(libqf) add_subdirectory(libsiut) add_subdirectory(libquickevent) + add_subdirectory(quickevent) add_subdirectory(quickhttpd) add_subdirectory(quickshow) add_subdirectory(tools/qsqlmon) diff --git a/libquickevent/libquickeventgui/CMakeLists.txt b/libquickevent/libquickeventgui/CMakeLists.txt index 91e844cd5..8004c528a 100644 --- a/libquickevent/libquickeventgui/CMakeLists.txt +++ b/libquickevent/libquickeventgui/CMakeLists.txt @@ -23,5 +23,6 @@ qt5_add_translation(QM_FILES target_sources(libquickeventgui PRIVATE ${QM_FILES}) target_compile_definitions(libquickeventgui PRIVATE QUICKEVENTGUI_BUILD_DLL) target_link_libraries(libquickeventgui PUBLIC Qt::Core Qt::Multimedia libquickeventcore libqfqmlwidgets) +target_include_directories(libquickeventgui PUBLIC include) install(TARGETS libquickeventgui) diff --git a/quickevent/CMakeLists.txt b/quickevent/CMakeLists.txt new file mode 100644 index 000000000..a034abbb4 --- /dev/null +++ b/quickevent/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(app/quickevent) diff --git a/quickevent/app/quickevent/CMakeLists.txt b/quickevent/app/quickevent/CMakeLists.txt new file mode 100644 index 000000000..8b23fda85 --- /dev/null +++ b/quickevent/app/quickevent/CMakeLists.txt @@ -0,0 +1,121 @@ +add_executable(quickevent + plugins/CardReader/src/cardchecker.cpp + plugins/CardReader/src/cardcheckerclassiccpp.cpp + plugins/CardReader/src/cardcheckerfreeordercpp.cpp + plugins/CardReader/src/cardreaderplugin.cpp + plugins/CardReader/src/cardreaderwidget.cpp + plugins/CardReader/src/dlgsettings.cpp + plugins/CardReader/src/services/mqttpunches.cpp + plugins/CardReader/src/services/mqttpuncheswidget.cpp + plugins/CardReader/src/services/racomclient.cpp + plugins/CardReader/src/services/racomclientwidget.cpp + plugins/Classes/src/classdefdocument.cpp + plugins/Classes/src/classdefwidget.cpp + plugins/Classes/src/classdocument.cpp + plugins/Classes/src/classesplugin.cpp + plugins/Classes/src/classestableview.cpp + plugins/Classes/src/classeswidget.cpp + plugins/Classes/src/drawing/classitem.cpp + plugins/Classes/src/drawing/drawingganttwidget.cpp + plugins/Classes/src/drawing/ganttitem.cpp + plugins/Classes/src/drawing/ganttruler.cpp + plugins/Classes/src/drawing/ganttscene.cpp + plugins/Classes/src/drawing/ganttview.cpp + plugins/Classes/src/drawing/iganttitem.cpp + plugins/Classes/src/drawing/startslotheader.cpp + plugins/Classes/src/drawing/startslotitem.cpp + plugins/Classes/src/editcodeswidget.cpp + plugins/Classes/src/editcoursecodeswidget.cpp + plugins/Classes/src/editcourseswidget.cpp + plugins/Classes/src/importcoursedef.cpp + plugins/Competitors/src/competitordocument.cpp + plugins/Competitors/src/competitorsplugin.cpp + plugins/Competitors/src/competitorswidget.cpp + plugins/Competitors/src/competitorwidget.cpp + plugins/Competitors/src/findregistrationedit.cpp + plugins/Competitors/src/lentcardswidget.cpp + plugins/Competitors/src/registrationswidget.cpp + plugins/Competitors/src/stationsbackupmemorywidget.cpp + plugins/Core/src/coreplugin.cpp + plugins/Core/src/widgets/appstatusbar.cpp + plugins/Event/src/connectdbdialogwidget.cpp + plugins/Event/src/connectionsettings.cpp + plugins/Event/src/dbschema.cpp + plugins/Event/src/eventconfig.cpp + plugins/Event/src/eventdialogwidget.cpp + plugins/Event/src/eventplugin.cpp + plugins/Event/src/services/emmaclient.cpp + plugins/Event/src/services/emmaclientwidget.cpp + plugins/Event/src/services/service.cpp + plugins/Event/src/services/serviceswidget.cpp + plugins/Event/src/services/servicewidget.cpp + plugins/Event/src/stage.cpp + plugins/Event/src/stagedocument.cpp + plugins/Event/src/stagewidget.cpp + plugins/Oris/src/chooseoriseventdialog.cpp + plugins/Oris/src/orisimporter.cpp + plugins/Oris/src/orisplugin.cpp + plugins/Oris/src/txtimporter.cpp + plugins/Receipts/src/receiptsplugin.cpp + plugins/Receipts/src/receiptsprinter.cpp + plugins/Receipts/src/receiptsprinteroptions.cpp + plugins/Receipts/src/receiptsprinteroptionsdialog.cpp + plugins/Receipts/src/receiptswidget.cpp + plugins/Relays/src/addlegdialogwidget.cpp + plugins/Relays/src/relaydocument.cpp + plugins/Relays/src/relaysplugin.cpp + plugins/Relays/src/relayswidget.cpp + plugins/Relays/src/relaywidget.cpp + plugins/Runs/src/cardflagsdialog.cpp + plugins/Runs/src/eventstatisticsoptions.cpp + plugins/Runs/src/eventstatisticswidget.cpp + plugins/Runs/src/findrunneredit.cpp + plugins/Runs/src/findrunnerwidget.cpp + plugins/Runs/src/nstagesreportoptionsdialog.cpp + plugins/Runs/src/printawardsoptionsdialogwidget.cpp + plugins/Runs/src/runflagsdialog.cpp + plugins/Runs/src/runsplugin.cpp + plugins/Runs/src/runstabledialogwidget.cpp + plugins/Runs/src/runstableitemdelegate.cpp + plugins/Runs/src/runstablemodel.cpp + plugins/Runs/src/runstablewidget.cpp + plugins/Runs/src/runswidget.cpp + plugins/Runs/src/services/resultsexporter.cpp + plugins/Runs/src/services/resultsexporterwidget.cpp + plugins/Speaker/src/codeclassresultswidget.cpp + plugins/Speaker/src/punchestableview.cpp + plugins/Speaker/src/speakerplugin.cpp + plugins/Speaker/src/speakerwidget.cpp + src/appclioptions.cpp + src/application.cpp + src/loggerwidget.cpp + src/main.cpp + src/mainwindow.cpp + images/images.qrc + plugins/shared/shared.qrc + plugins/Receipts/Receipts.qrc + plugins/Event/Event.qrc + plugins/Competitors/Competitors.qrc + plugins/Speaker/Speaker.qrc + plugins/Classes/Classes.qrc + plugins/Relays/Relays.qrc + plugins/Runs/Runs.qrc + plugins/CardReader/CardReader.qrc + app.rc + ) + +qt5_add_translation(QM_FILES + quickevent-cs_CZ.ts + quickevent-fr_FR.ts + quickevent-nb_NO.ts + quickevent-nl_BE.ts + quickevent-pl_PL.ts + quickevent-ru_RU.ts + quickevent-uk_UA.ts + ) + +target_sources(quickevent PRIVATE ${QM_FILES}) +target_include_directories(quickevent PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) +target_link_libraries(quickevent PUBLIC libquickeventcore libquickeventgui libqfqmlwidgets libsiut) + +install(TARGETS quickevent)