cmake: build eglfs_emu

Change-Id: I793865f55114d08c342477f4e786d1089239ace4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-15 17:39:45 +01:00
parent df17678ab1
commit af7fe32ebd
2 changed files with 27 additions and 1 deletions

View File

@ -45,5 +45,5 @@ if(QT_FEATURE_eglfs_openwfd)
endif()
if(QT_FEATURE_opengl)
# TODO add_subdirectory(eglfs_emu)
add_subdirectory(eglfs_emu)
endif()

View File

@ -0,0 +1,26 @@
# Generated from eglfs_emu.pro.
#####################################################################
## qeglfs-emu-integration Plugin:
#####################################################################
add_qt_plugin(qeglfs-emu-integration
TYPE egldeviceintegrations
SOURCES
qeglfsemulatorintegration.cpp qeglfsemulatorintegration.h
qeglfsemulatorscreen.cpp qeglfsemulatorscreen.h
qeglfsemumain.cpp
DEFINES
QT_EGL_NO_X11
INCLUDE_DIRECTORIES
../../api
LIBRARIES
Qt::CorePrivate
Qt::GuiPrivate
Qt::EglFSDeviceIntegrationPrivate
# CONFIG = "egl"
# DISTFILES = "eglfs_emu.json"
# OTHER_FILES = "$$PWD/eglfs_emu.json"
# PLUGIN_CLASS_NAME = "QEglFSEmulatorIntegrationPlugin"
# _LOADED = "qt_plugin"
)