cmake: add CMakeLists.txt files for xcb/gl_integrations
Change-Id: I34bc3c0ab4b4b686fe57149a3bb69e2d2cafd551 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
417e714d90
commit
10f477e5bb
@ -202,5 +202,6 @@ add_qt_plugin(qxcb
|
|||||||
#### Keys ignored in scope 3:.:.:./xcb-plugin.pro:NOT TARGET___equals____ss_QT_DEFAULT_QPA_PLUGIN:
|
#### Keys ignored in scope 3:.:.:./xcb-plugin.pro:NOT TARGET___equals____ss_QT_DEFAULT_QPA_PLUGIN:
|
||||||
# PLUGIN_EXTENDS = "-"
|
# PLUGIN_EXTENDS = "-"
|
||||||
|
|
||||||
|
add_subdirectory(gl_integrations)
|
||||||
|
|
||||||
#### TODO: xcb-static sub folder
|
#### TODO: xcb-static sub folder
|
||||||
#### TODO: gl_integrations sub folder
|
|
||||||
|
10
src/plugins/platforms/xcb/gl_integrations/CMakeLists.txt
Normal file
10
src/plugins/platforms/xcb/gl_integrations/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Generated from gl_integrations.pro.
|
||||||
|
|
||||||
|
|
||||||
|
if(QT_FEATURE_xcb_egl_plugin)
|
||||||
|
add_subdirectory(xcb_egl)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(QT_FEATURE_xcb_glx_plugin)
|
||||||
|
add_subdirectory(xcb_glx)
|
||||||
|
endif()
|
@ -0,0 +1,35 @@
|
|||||||
|
# Generated from xcb_egl.pro.
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
## qxcb-egl-integration Plugin:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
add_qt_plugin(qxcb-egl-integration
|
||||||
|
TYPE xcbglintegrations
|
||||||
|
SOURCES
|
||||||
|
qxcbeglcontext.h
|
||||||
|
qxcbeglintegration.cpp qxcbeglintegration.h
|
||||||
|
qxcbeglmain.cpp
|
||||||
|
qxcbeglnativeinterfacehandler.cpp qxcbeglnativeinterfacehandler.h
|
||||||
|
qxcbeglwindow.cpp qxcbeglwindow.h
|
||||||
|
DEFINES
|
||||||
|
QT_NO_FOREACH
|
||||||
|
INCLUDE_DIRECTORIES
|
||||||
|
..
|
||||||
|
../..
|
||||||
|
LIBRARIES
|
||||||
|
Qt::CorePrivate
|
||||||
|
Qt::EglSupportPrivate
|
||||||
|
Qt::GuiPrivate
|
||||||
|
Qt::XcbQpaPrivate
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
Qt::Core
|
||||||
|
Qt::EglSupport
|
||||||
|
Qt::Gui
|
||||||
|
Qt::XcbQpa
|
||||||
|
)
|
||||||
|
|
||||||
|
#### Keys ignored in scope 1:.:.:./xcb_egl.pro:<TRUE>:
|
||||||
|
# CONFIG = "egl"
|
||||||
|
# PLUGIN_CLASS_NAME = "QXcbEglIntegrationPlugin"
|
||||||
|
# _LOADED = "qt_plugin" "qt_build_paths"
|
@ -0,0 +1,47 @@
|
|||||||
|
# Generated from xcb_glx.pro.
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
## qxcb-glx-integration Plugin:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
add_qt_plugin(qxcb-glx-integration
|
||||||
|
TYPE xcbglintegrations
|
||||||
|
SOURCES
|
||||||
|
qglxintegration.cpp qglxintegration.h
|
||||||
|
qxcbglxintegration.cpp qxcbglxintegration.h
|
||||||
|
qxcbglxmain.cpp
|
||||||
|
qxcbglxnativeinterfacehandler.cpp qxcbglxnativeinterfacehandler.h
|
||||||
|
qxcbglxwindow.cpp qxcbglxwindow.h
|
||||||
|
DEFINES
|
||||||
|
QT_NO_FOREACH
|
||||||
|
INCLUDE_DIRECTORIES
|
||||||
|
..
|
||||||
|
../..
|
||||||
|
LIBRARIES
|
||||||
|
Qt::CorePrivate
|
||||||
|
Qt::GlxSupportPrivate
|
||||||
|
Qt::GuiPrivate
|
||||||
|
Qt::XcbQpaPrivate
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
Qt::Core
|
||||||
|
Qt::GlxSupport
|
||||||
|
Qt::Gui
|
||||||
|
Qt::XcbQpa
|
||||||
|
)
|
||||||
|
|
||||||
|
#### Keys ignored in scope 1:.:.:./xcb_glx.pro:<TRUE>:
|
||||||
|
# PLUGIN_CLASS_NAME = "QXcbGlxIntegrationPlugin"
|
||||||
|
# _LOADED = "qt_plugin" "qt_build_paths"
|
||||||
|
|
||||||
|
## Scopes:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
extend_target(qxcb-glx-integration CONDITION QT_FEATURE_xcb_glx
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
xcb_glx
|
||||||
|
)
|
||||||
|
|
||||||
|
extend_target(qxcb-glx-integration CONDITION NOT static
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
${CMAKE_DL_LIBS}
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user