aboutsummaryrefslogblamecommitdiff
path: root/mingui/CMakeLists.txt
blob: 3503f9876eabd6bfee5d72993c4f8f11cac86e07 (plain) (tree)


















                                             
                 




                            
cmake_minimum_required(VERSION 3.10.0)

project(mingui VERSION 0.0.1 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

find_package(Qt5 REQUIRED COMPONENTS Widgets)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

add_executable(mingui
    main.cpp
    mingui.cpp
    imageitem.cpp
)

target_link_libraries(mingui
    Qt5::Widgets
)