qt5base-lts/tests/manual/foreignwindows/CMakeLists.txt
Alexandru Croitor 403213240c CMake: Regenerate projects to use new qt_internal_ API
Modify special case locations to use the new API as well.
Clean up some stale .prev files that are not needed anymore.
Clean up some project files that are not used anymore.

Task-number: QTBUG-86815
Change-Id: I9947da921f98686023c6bb053dfcc101851276b5
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-09-23 16:59:06 +02:00

60 lines
1.6 KiB
CMake

# Generated from foreignwindows.pro.
#####################################################################
## foreignwindows Binary:
#####################################################################
qt_internal_add_manual_test(foreignwindows
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
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Gui
Qt::GuiPrivate
Qt::OpenGL
Qt::Widgets
)
#### Keys ignored in scope 1:.:.:foreignwindows.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
qt_internal_extend_target(foreignwindows CONDITION WIN32
SOURCES
../diaglib/nativewindowdump_win.cpp
PUBLIC_LIBRARIES
user32
)
qt_internal_extend_target(foreignwindows CONDITION UNIX
SOURCES
../diaglib/nativewindowdump.cpp
)
qt_internal_extend_target(foreignwindows CONDITION QT_FEATURE_widgets
SOURCES
../diaglib/debugproxystyle.cpp ../diaglib/debugproxystyle.h
../diaglib/logwidget.cpp ../diaglib/logwidget.h
../diaglib/qwidgetdump.cpp ../diaglib/qwidgetdump.h
PUBLIC_LIBRARIES
Qt::WidgetsPrivate
)
qt_internal_extend_target(foreignwindows CONDITION QT_FEATURE_opengl
SOURCES
../diaglib/glinfo.cpp ../diaglib/glinfo.h
PUBLIC_LIBRARIES
Qt::OpenGL
Qt::OpenGLWidgets
)