2024-06-27 12:18:32 +02:00
|
|
|
cmake_minimum_required(VERSION 3.28)
|
2024-08-16 22:13:56 +02:00
|
|
|
project(itat_challenge_olympics)
|
2024-06-27 12:18:32 +02:00
|
|
|
|
2024-08-15 11:12:32 +02:00
|
|
|
find_package(Qt6 6.2 COMPONENTS Core Quick Quick REQUIRED)
|
|
|
|
|
|
|
|
qt_standard_project_setup(REQUIRES 6.5)
|
2024-06-27 12:18:32 +02:00
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
2024-08-15 18:58:19 +02:00
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
2024-08-16 22:13:56 +02:00
|
|
|
qt_add_executable(itat_challenge_olympics src/main/main.cpp
|
2024-08-15 18:58:19 +02:00
|
|
|
application.qrc
|
2024-08-02 16:07:15 +02:00
|
|
|
)
|
2024-07-26 17:49:18 +02:00
|
|
|
|
2024-07-26 19:17:16 +02:00
|
|
|
|
2024-08-16 22:13:56 +02:00
|
|
|
qt_add_qml_module(itat_challenge_olympics
|
2024-08-15 11:12:32 +02:00
|
|
|
URI itat
|
|
|
|
QML_FILES
|
|
|
|
res/gui/application.qml
|
2024-07-30 10:56:05 +02:00
|
|
|
res/gui/EventInfoPage.qml
|
|
|
|
res/gui/EventsPage.qml
|
2024-08-16 07:06:05 +02:00
|
|
|
|
|
|
|
SOURCES
|
|
|
|
src/model/Competitor.cpp
|
|
|
|
src/model/Competitor.h
|
|
|
|
src/model/EventInfo.cpp
|
|
|
|
src/model/EventInfo.h
|
2024-08-16 18:03:26 +02:00
|
|
|
src/model/FilterModel.cpp
|
|
|
|
src/model/FilterModel.h
|
2024-08-16 07:06:05 +02:00
|
|
|
src/model/MedalWinner.cpp
|
|
|
|
src/model/MedalWinner.h
|
2024-08-16 16:58:31 +02:00
|
|
|
src/model/SportModel.cpp
|
|
|
|
src/model/SportModel.h
|
2024-08-16 16:55:25 +02:00
|
|
|
|
2024-08-15 11:12:32 +02:00
|
|
|
RESOURCES
|
|
|
|
res/pictograms/ARC_small.svg
|
|
|
|
res/pictograms/ATH_small.svg
|
|
|
|
res/pictograms/BDM_small.svg
|
|
|
|
res/pictograms/BK3_small.svg
|
|
|
|
res/pictograms/BKB_small.svg
|
|
|
|
res/pictograms/BKG_small.svg
|
|
|
|
res/pictograms/BMF_small.svg
|
|
|
|
res/pictograms/BMX_small.svg
|
|
|
|
res/pictograms/BOX_small.svg
|
|
|
|
res/pictograms/CER_small.svg
|
|
|
|
res/pictograms/CLB_small.svg
|
|
|
|
res/pictograms/CRD_small.svg
|
|
|
|
res/pictograms/CSL_small.svg
|
|
|
|
res/pictograms/CSP_small.svg
|
|
|
|
res/pictograms/CTR_small.svg
|
|
|
|
res/pictograms/DIV_small.svg
|
2024-08-16 16:55:25 +02:00
|
|
|
res/pictograms/EDR_small.svg
|
|
|
|
res/pictograms/EJP_small.svg
|
|
|
|
res/pictograms/EVE_small.svg
|
2024-08-15 11:12:32 +02:00
|
|
|
res/pictograms/FBL_small.svg
|
|
|
|
res/pictograms/FEN_small.svg
|
|
|
|
res/pictograms/GAR_small.svg
|
|
|
|
res/pictograms/GLF_small.svg
|
|
|
|
res/pictograms/GRY_small.svg
|
|
|
|
res/pictograms/GTR_small.svg
|
|
|
|
res/pictograms/HBL_small.svg
|
|
|
|
res/pictograms/HOC_small.svg
|
|
|
|
res/pictograms/JUD_small.svg
|
|
|
|
res/pictograms/MPN_small.svg
|
|
|
|
res/pictograms/MTB_small.svg
|
|
|
|
res/pictograms/OWS_small.svg
|
|
|
|
res/pictograms/ROW_small.svg
|
|
|
|
res/pictograms/RU7_small.svg
|
|
|
|
res/pictograms/SAL_small.svg
|
|
|
|
res/pictograms/SHO_small.svg
|
|
|
|
res/pictograms/SKB_small.svg
|
|
|
|
res/pictograms/SRF_small.svg
|
|
|
|
res/pictograms/SWA_small.svg
|
|
|
|
res/pictograms/SWM_small.svg
|
|
|
|
res/pictograms/TEN_small.svg
|
|
|
|
res/pictograms/TKW_small.svg
|
|
|
|
res/pictograms/TRI_small.svg
|
|
|
|
res/pictograms/TTE_small.svg
|
|
|
|
res/pictograms/VBV_small.svg
|
|
|
|
res/pictograms/VVO_small.svg
|
|
|
|
res/pictograms/WLF_small.svg
|
|
|
|
res/pictograms/WPO_small.svg
|
|
|
|
res/pictograms/WRE_small.svg
|
2024-08-16 16:55:25 +02:00
|
|
|
res/pictograms/WRG_small.svg
|
2024-08-15 11:12:32 +02:00
|
|
|
)
|
2024-07-26 17:49:18 +02:00
|
|
|
|
2024-08-16 22:13:56 +02:00
|
|
|
target_link_libraries(itat_challenge_olympics PRIVATE Qt6::Core Qt6::Quick Qt6::Network)
|
2024-07-26 19:17:16 +02:00
|
|
|
|
2024-08-16 22:13:56 +02:00
|
|
|
# target_link_libraries(itat_challenge_olympics PRIVATE d3d12.lib dxgi.lib d3dcompiler.lib dxguid.lib)
|