2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-11-12 13:01:48 +00:00
|
|
|
#####################################################################
|
|
|
|
## foreignwindows Binary:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_manual_test(foreignwindows
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
|
|
|
../diaglib/eventfilter.cpp ../diaglib/eventfilter.h
|
|
|
|
../diaglib/nativewindowdump.h
|
|
|
|
../diaglib/qwindowdump.cpp ../diaglib/qwindowdump.h
|
|
|
|
../diaglib/textdump.cpp ../diaglib/textdump.h
|
|
|
|
main.cpp
|
|
|
|
DEFINES
|
|
|
|
QT_DIAG_LIB
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
../diaglib
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::CorePrivate
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::GuiPrivate
|
2020-03-11 18:09:45 +00:00
|
|
|
Qt::OpenGL
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::Widgets
|
|
|
|
)
|
|
|
|
|
|
|
|
## Scopes:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(foreignwindows CONDITION WIN32
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
|
|
|
../diaglib/nativewindowdump_win.cpp
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-11-12 13:01:48 +00:00
|
|
|
user32
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(foreignwindows CONDITION UNIX
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
|
|
|
../diaglib/nativewindowdump.cpp
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(foreignwindows CONDITION QT_FEATURE_widgets
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
|
|
|
../diaglib/debugproxystyle.cpp ../diaglib/debugproxystyle.h
|
|
|
|
../diaglib/logwidget.cpp ../diaglib/logwidget.h
|
|
|
|
../diaglib/qwidgetdump.cpp ../diaglib/qwidgetdump.h
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::WidgetsPrivate
|
2019-11-12 13:01:48 +00:00
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(foreignwindows CONDITION QT_FEATURE_opengl
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
|
|
|
../diaglib/glinfo.cpp ../diaglib/glinfo.h
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::OpenGL
|
2020-03-11 18:09:45 +00:00
|
|
|
Qt::OpenGLWidgets
|
2019-11-12 13:01:48 +00:00
|
|
|
)
|