aboutsummaryrefslogtreecommitdiff
path: root/mingui/CMakeLists.txt
blob: 3503f9876eabd6bfee5d72993c4f8f11cac86e07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
)