diff options
author | Robert Griebl <[email protected]> | 2022-07-29 23:18:37 +0200 |
---|---|---|
committer | Robert Griebl <[email protected]> | 2023-08-04 12:59:01 +0000 |
commit | b3665620377a06f7b7a012e2ae7b69d222fae435 (patch) | |
tree | 8a012e3ffd952197401f79a396e55e3850fee5ce /CMakeLists.txt | |
parent | 7259d1a839a698e68bc4a7020a63d2aca79a5ec6 (diff) |
PLEASE NOTE: This project is not maintained anymore. It was ported to
a Qt 6 cmake setup and a more modern Django and Python version to at
least keep it usable for legacy projects.
For non-production use-cases, please switch to the new
appman-package-server available in the Qt Application Manager
starting with version 6.7.
Task-number: AUTOSUITE-1368
Change-Id: Idc4f2490a2a4399c03fce761250f4b5ac2612a45
Reviewed-by: Dominik Holland <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..d3c8839 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,36 @@ +# Copyright (C) 2023 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + +cmake_minimum_required(VERSION 3.16) + +include(.cmake.conf) +project(QtAutoDeploymentServer + VERSION "${QT_REPO_MODULE_VERSION}" + DESCRIPTION "QtAuto deployment server" + HOMEPAGE_URL "https://qt.io/" + LANGUAGES CXX C +) + +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) + +add_custom_target(create_docker + COMMAND docker build -t qtauto-deployment-server . + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + VERBATIM +) + +qt_build_repo() + + +if(QT_BUILD_ONLINE_DOCS) + set(DOC_CONF "doc/online/qtautodeploymentserver.qdocconf") +else() + set(DOC_CONF "doc/qtautodeploymentserver.qdocconf") +endif() + +file(GLOB_RECURSE allDocFiles "doc/*.qdoc" "doc/*.png" "doc/*.qdocconf") +add_custom_target(Documentation SOURCES ${allDocFiles}) +qt_internal_add_docs(Documentation ${DOC_CONF}) + +# Add tool dependencies that were deferred by qt_internal_add_docs. +qt_internal_add_deferred_dependencies() |