qt5base-lts/tests/manual/embeddedintoforeignwindow/CMakeLists.txt
Lucie Gérard 32df595275 Change the license of all CMakeLists.txt and *.cmake files to BSD
Task-number: QTBUG-105718
Change-Id: I5d3ef70a31235868b9be6cb479b7621bf2a8ba39
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-23 23:58:42 +02:00

62 lines
1.7 KiB
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# Generated from embeddedintoforeignwindow.pro.
#####################################################################
## embeddedintoforeignwindow Binary:
#####################################################################
qt_internal_add_manual_test(embeddedintoforeignwindow
SOURCES
../diaglib/eventfilter.cpp ../diaglib/eventfilter.h
../diaglib/nativewindowdump.h
../diaglib/qwindowdump.cpp ../diaglib/qwindowdump.h
../diaglib/textdump.cpp ../diaglib/textdump.h
itemwindow.cpp itemwindow.h
main.cpp
DEFINES
QT_DIAG_LIB
INCLUDE_DIRECTORIES
../diaglib
LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
)
#### Keys ignored in scope 1:.:.:embeddedintoforeignwindow.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
qt_internal_extend_target(embeddedintoforeignwindow CONDITION WIN32
SOURCES
../diaglib/nativewindowdump_win.cpp
LIBRARIES
user32
)
qt_internal_extend_target(embeddedintoforeignwindow CONDITION UNIX
SOURCES
../diaglib/nativewindowdump.cpp
)
qt_internal_extend_target(embeddedintoforeignwindow CONDITION QT_FEATURE_widgets
SOURCES
../diaglib/debugproxystyle.cpp ../diaglib/debugproxystyle.h
../diaglib/logwidget.cpp ../diaglib/logwidget.h
../diaglib/qwidgetdump.cpp ../diaglib/qwidgetdump.h
LIBRARIES
Qt::WidgetsPrivate
)
qt_internal_extend_target(embeddedintoforeignwindow CONDITION QT_FEATURE_opengl
SOURCES
../diaglib/glinfo.cpp ../diaglib/glinfo.h
LIBRARIES
Qt::OpenGL
Qt::OpenGLWidgets
)