aboutsummaryrefslogblamecommitdiff
path: root/mingui/CMakeLists.txt
blob: 3a53455a3a8bd79ddb94def3d54d01c6a6a36b9b (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
)

target_link_libraries(mingui
    Qt5::Widgets
)