blob: 87383cc243ce5bb600c8c63c71483b81d6334e26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
if(NOT QT_BUILD_STANDALONE_TESTS)
cmake_minimum_required(VERSION 3.18)
include(${CMAKE_CURRENT_LIST_DIR}/../.cmake.conf)
project(QtWebEngineTests
VERSION "${QT_REPO_MODULE_VERSION}"
DESCRIPTION "Qt WebEngine Tests"
HOMEPAGE_URL "https://qt.io/"
LANGUAGES CXX C
)
endif()
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Widgets
WebEngineCore WebEngineWidgets WebEngineQuick QuickWidgets Test QuickTest)
if(NOT QT_BUILD_STANDALONE_TESTS)
qt_build_repo_begin()
qt_build_tests()
qt_build_repo_end()
else()
qt_build_tests()
endif()
|