blob: 605761622fdeafc063759f4778725844f2f9d022 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_qwindow Test:
#####################################################################
qt_internal_add_test(tst_qwindow
SOURCES
tst_qwindow.cpp
LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
)
if(APPLE OR WIN32)
qt_internal_add_test(tst_foreignwindow
SOURCES
tst_foreignwindow.cpp
LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
)
if(APPLE)
target_compile_options(tst_foreignwindow PRIVATE -x objective-c++)
set_property(TARGET tst_foreignwindow PROPERTY PROPERTY MACOSX_BUNDLE TRUE)
endif()
endif()
## Scopes:
#####################################################################
qt_internal_extend_target(tst_qwindow CONDITION QT_FEATURE_dynamicgl AND WIN32
LIBRARIES
user32
)
|