qt6windows7/cmake/QtBaseCMakeTesting.cmake

13 lines
315 B
CMake
Raw Permalink Normal View History

2023-10-30 06:33:08 +08:00
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
## Test the cmake build system:
option(BUILD_CMAKE_TESTING "Build tests for the Qt build system" OFF)
mark_as_advanced(BUILD_CMAKE_TESTING)
if(BUILD_CMAKE_TESTING)
add_subdirectory("${PROJECT_SOURCE_DIR}/cmake/tests")
endif()