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

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

qt_internal_add_executable(cmptest
    NO_INSTALL
    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)