2020-03-09 12:53:53 +00:00
|
|
|
# Generated from qtdeclarative.pro.
|
|
|
|
|
2019-08-27 08:19:50 +00:00
|
|
|
cmake_minimum_required(VERSION 3.15.0)
|
2019-05-24 13:35:20 +00:00
|
|
|
|
2020-05-28 14:34:22 +00:00
|
|
|
include(.cmake.conf)
|
2020-03-09 12:53:53 +00:00
|
|
|
project(QtDeclarative # special case
|
2020-05-28 14:34:22 +00:00
|
|
|
VERSION "${QT_REPO_MODULE_VERSION}"
|
2020-03-09 12:53:53 +00:00
|
|
|
DESCRIPTION "Qt Declarative Libraries" # special case
|
2019-05-24 13:35:20 +00:00
|
|
|
HOMEPAGE_URL "https://qt.io/"
|
|
|
|
LANGUAGES CXX C
|
|
|
|
)
|
|
|
|
|
2020-09-22 13:48:56 +00:00
|
|
|
# special case begin
|
|
|
|
# Make sure we only use latest private CMake API, aka no compatibility wrappers.
|
|
|
|
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
|
|
|
|
# special case end
|
|
|
|
|
2020-02-03 11:39:01 +00:00
|
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets Network # special case
|
2020-03-16 12:25:22 +00:00
|
|
|
OPTIONAL_COMPONENTS OpenGL OpenGLWidgets Sql Concurrent Test) # special case
|
2019-08-30 11:13:37 +00:00
|
|
|
|
2020-03-09 12:53:53 +00:00
|
|
|
# special case begin
|
2019-09-03 11:25:05 +00:00
|
|
|
# export QT6_ADD_QML_MODULE to this project
|
|
|
|
include(src/qml/Qt6QmlMacros.cmake)
|
2020-03-09 12:53:53 +00:00
|
|
|
# special case end
|
2019-09-03 11:25:05 +00:00
|
|
|
|
2020-03-09 12:53:53 +00:00
|
|
|
if(NOT QT_FEATURE_commandlineparser)
|
|
|
|
message(NOTICE "Skipping the build as the condition \"QT_FEATURE_commandlineparser\" is not met.")
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
if(NOT QT_FEATURE_temporaryfile)
|
|
|
|
message(NOTICE "Skipping the build as the condition \"QT_FEATURE_temporaryfile\" is not met.")
|
|
|
|
return()
|
|
|
|
endif()
|
2019-05-24 13:35:20 +00:00
|
|
|
qt_build_repo()
|