Skip to content

Commit

Permalink
Merge pull request #793 from syyyr/cmake-quickevent
Browse files Browse the repository at this point in the history
Add CMake support for quickevent
  • Loading branch information
fvacek authored Aug 24, 2022
2 parents d3436fb + cd9a996 commit 83c0dc4
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions libquickevent/libquickeventgui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions quickevent/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add_subdirectory(app/quickevent)
121 changes: 121 additions & 0 deletions quickevent/app/quickevent/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 83c0dc4

Please sign in to comment.