itat_challenge/CMakeLists.txt

22 lines
724 B
CMake

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)