summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/cmptest/CMakeLists.txt
blob: 67700db36ee083c7ca0f686c334ff86e40cd5364 (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
25
26
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

#####################################################################
## cmptest Binary:
#####################################################################

qt_internal_add_executable(cmptest
    NO_INSTALL
    EXCEPTIONS
    OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    SOURCES
        tst_cmptest.cpp
    LIBRARIES
        Qt::Test
)

## Scopes:
#####################################################################

qt_internal_extend_target(cmptest CONDITION TARGET Qt::Gui
    LIBRARIES
        Qt::Gui
)

qt_internal_apply_testlib_coverage_options(cmptest)