0da123d67b
Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Pick-to: 6.2 Task-number: QTBUG-95018 Change-Id: Ieaf82c10987dd797d86a3fd4a986a67e72de486a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
30 lines
739 B
CMake
30 lines
739 B
CMake
# Generated from qtsvg.pro.
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
include(.cmake.conf)
|
|
project(QtMockPlugins
|
|
VERSION "${QT_REPO_MODULE_VERSION}"
|
|
DESCRIPTION "Qt MockPlugins Libraries"
|
|
HOMEPAGE_URL "https://qt.io/"
|
|
LANGUAGES CXX C
|
|
)
|
|
|
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
|
|
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Widgets Xml)
|
|
|
|
qt_build_repo_begin()
|
|
|
|
add_subdirectory(mockplugins1)
|
|
add_subdirectory(mockplugins2)
|
|
add_subdirectory(mockplugins3)
|
|
|
|
add_subdirectory(mock1plugin)
|
|
add_subdirectory(mock2plugin)
|
|
add_subdirectory(mock3plugin)
|
|
add_subdirectory(mock4plugin)
|
|
add_subdirectory(mock5plugin)
|
|
add_subdirectory(mock6plugin)
|
|
|
|
qt_build_repo_end()
|