7f0cd77b4e
Not much there yet, just a login dialog and an app list JSON parser
16 lines
637 B
CMake
16 lines
637 B
CMake
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_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)
|
|
|
|
install(TARGETS configurator DESTINATION bin)
|