summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 85ae2001433d6aed62329c75b286f43306de4a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cmake_minimum_required(VERSION 3.28)
project(itat_challange_olympics)

set(CMAKE_CXX_STANDARD 17)
add_executable(itat_challange_olympics src/main/main.cpp
        src/api/OlympicsAPI.cpp
        src/api/OlympicsAPI.h
        src/discipline/Sport.cpp
        src/discipline/Sport.h
    )

find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(itat_challange_olympics PRIVATE Qt6::Core)

find_package(Qt6 REQUIRED COMPONENTS Quick)
target_link_libraries(itat_challange_olympics PRIVATE Qt6::Quick)

find_package(Qt6 REQUIRED COMPONENTS Network)
target_link_libraries(itat_challange_olympics PRIVATE Qt6::Network)

target_link_libraries(itat_challange_olympics PRIVATE d3d12.lib dxgi.lib d3dcompiler.lib dxguid.lib)