cmake_minimum_required(VERSION 3.5)

project(Notepad)

set(CMAKE_CXX_STANDARD 17)

find_package(Qt6 REQUIRED COMPONENTS Widgets)

qt_add_executable(Notepad
    main.cpp
    mainwindow.cpp
    mainwindow.h
    texteditor.cpp
    texteditor.h
)

target_link_libraries(Notepad Qt6::Widgets)
