| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) |
| 5 |
cmake_minimum_required(VERSION 3.16) |
| 6 |
project(tst_qpathclipper LANGUAGES CXX) |
| 7 |
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) |
| 8 |
endif() |
| 9 |
|
| 10 |
if(NOT QT_FEATURE_private_tests) |
| 11 |
return() |
| 12 |
endif() |
| 13 |
|
| 14 |
##################################################################### |
| 15 |
## tst_qpathclipper Test: |
| 16 |
##################################################################### |
| 17 |
|
| 18 |
qt_internal_add_test(tst_qpathclipper |
| 19 |
SOURCES |
| 20 |
paths.cpp paths.h |
| 21 |
tst_qpathclipper.cpp |
| 22 |
INCLUDE_DIRECTORIES |
| 23 |
. |
| 24 |
LIBRARIES |
| 25 |
Qt::Gui |
| 26 |
Qt::GuiPrivate |
| 27 |
) |
| 28 |
|
| 29 |
## Scopes: |
| 30 |
##################################################################### |
| 31 |
|
| 32 |
qt_internal_extend_target(tst_qpathclipper CONDITION UNIX AND NOT APPLE AND NOT HAIKU AND NOT INTEGRITY |
| 33 |
LIBRARIES |
| 34 |
m |
| 35 |
) |