summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/quuid/test/CMakeLists.txt
blob: 8b07dda9cf85eb9fcb21f820e927d4f9fd7f5f7a (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: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#####################################################################
## tst_quuid Test:
#####################################################################

qt_internal_add_test(tst_quuid
    OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
    SOURCES
        ../tst_quuid.cpp
)

## Scopes:

qt_internal_extend_target(tst_quuid CONDITION APPLE
    SOURCES
        ../tst_quuid_darwin.mm
    LIBRARIES
        ${FWFoundation}
)

if(QT_FEATURE_process AND NOT ANDROID)
    add_dependencies(tst_quuid testProcessUniqueness)
endif()