CMake: enable egl_viv plugins
Add needed define for egl_viv compile test and generate CMakeLists for the egl_viv plugins. Task-number: QTBUG-77809 Change-Id: I3b354faee36cbb85adcee895430eb5e8998108e1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
041868964d
commit
9692015d92
@ -278,6 +278,8 @@ qt_config_compile_test(egl_viv
|
||||
LABEL "i.Mx6 EGL"
|
||||
LIBRARIES
|
||||
EGL::EGL
|
||||
COMPILE_OPTIONS # special case
|
||||
"-DEGL_API_FB=1" # special case
|
||||
CODE
|
||||
"
|
||||
#include <EGL/egl.h>
|
||||
|
@ -22,13 +22,13 @@ if(QT_FEATURE_eglfs_mali)
|
||||
# add_subdirectory(eglfs_mali) # special case TODO
|
||||
endif()
|
||||
if(QT_FEATURE_eglfs_viv)
|
||||
# add_subdirectory(eglfs_viv) # special case TODO
|
||||
add_subdirectory(eglfs_viv)
|
||||
endif()
|
||||
if(QT_FEATURE_eglfs_rcar)
|
||||
# add_subdirectory(eglfs_rcar) # special case TODO
|
||||
endif()
|
||||
if(QT_FEATURE_eglfs_viv_wl)
|
||||
# add_subdirectory(eglfs_viv_wl) # special case TODO
|
||||
add_subdirectory(eglfs_viv_wl)
|
||||
endif()
|
||||
if(QT_FEATURE_eglfs_openwfd)
|
||||
# add_subdirectory(eglfs_openwfd) # special case TODO
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Generated from eglfs_viv.pro.
|
||||
|
||||
#####################################################################
|
||||
## QEglFSVivIntegrationPlugin Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_plugin(QEglFSVivIntegrationPlugin
|
||||
OUTPUT_NAME qeglfs-viv-integration
|
||||
TYPE egldeviceintegrations
|
||||
SOURCES
|
||||
qeglfsvivintegration.cpp qeglfsvivintegration.h
|
||||
qeglfsvivmain.cpp
|
||||
DEFINES
|
||||
EGL_API_FB=1
|
||||
LINUX=1
|
||||
INCLUDE_DIRECTORIES
|
||||
../../api
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::CorePrivate
|
||||
Qt::EglFSDeviceIntegrationPrivate
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:eglfs_viv.pro:<TRUE>:
|
||||
# OTHER_FILES = "$$PWD/eglfs_viv.json"
|
@ -0,0 +1,29 @@
|
||||
# Generated from eglfs_viv_wl.pro.
|
||||
|
||||
#####################################################################
|
||||
## QEglFSVivWaylandIntegrationPlugin Plugin:
|
||||
#####################################################################
|
||||
|
||||
qt_internal_add_plugin(QEglFSVivWaylandIntegrationPlugin
|
||||
OUTPUT_NAME qeglfs-viv-wl-integration
|
||||
TYPE egldeviceintegrations
|
||||
SOURCES
|
||||
qeglfsvivwlintegration.cpp qeglfsvivwlintegration.h
|
||||
qeglfsvivwlmain.cpp
|
||||
DEFINES
|
||||
EGL_API_FB=1
|
||||
LINUX=1
|
||||
INCLUDE_DIRECTORIES
|
||||
../../api
|
||||
LIBRARIES
|
||||
Wayland::Server
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Core
|
||||
Qt::CorePrivate
|
||||
Qt::EglFSDeviceIntegrationPrivate
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:eglfs_viv_wl.pro:<TRUE>:
|
||||
# OTHER_FILES = "$$PWD/eglfs_viv_wl.json"
|
Loading…
Reference in New Issue
Block a user