configurator/CMakeLists.txt
Bernhard Rosenkränzer 7f0cd77b4e Initial import
Not much there yet, just a login dialog and an app list
JSON parser
2024-08-28 00:13:54 +02:00

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)