cmake_minimum_required(VERSION 3.20) project(configurator) set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_CXX_STANDARD 23) set(QT_VERSION 6 CACHE STRING "Major version of Qt to use (6 will work, anything else may or may not work)") find_package(Qt${QT_VERSION} COMPONENTS Core Gui Widgets WebEngineWidgets REQUIRED) add_subdirectory(dialogs) add_subdirectory(lib) add_executable(configurator main.cpp Configurator.cpp) target_link_libraries(configurator Qt${QT_VERSION}::Core Qt${QT_VERSION}::Gui Qt${QT_VERSION}::Widgets Qt${QT_VERSION}::WebEngineWidgets Qt${QT_VERSION}::Network dialogs fed) install(TARGETS configurator DESTINATION bin)