qt5base-lts/tests/auto/cmake
Stephen Kelly bc4fbcd215 Add IMPORTED targets for the GL libraries used by Qt.
There may be multiple libraries specified in the mkspec, such as
EGL and Mali, as used in devices/linux-sh4-stmicro-ST7108-g++, so
create an imported target for each one. Also populate the
Qt5Gui_EGL_LIBS variable with all created imported targets. Similar
variables are created for the used OPENGL implementation.

In the case of using the packaged ANGLE library, we already know the
exact locations of the binaries.

This makes it possible for third parties to use the same GL
implementation as used by the Qt build itself. As these are used only
privately by QtGui, they are also added to the DEPENDENT_LIBRARIES
of that target so that they are found for rpath-link usage.

On some platforms (eg Raspberry Pi), multiple include directories must
be set to include egl.h, as the headers it includes for vcos are a
bit scattered.

Task-number: QTBUG-29132

Change-Id: I1126da3d37cd51c88d3670347c8b6405b285efb5
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2013-04-22 18:35:52 +02:00
..
test_add_resource_options Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_add_resources_delayed_file Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_concurrent_module Test that the ConfigVersion.cmake files work. 2013-03-13 09:48:58 +01:00
test_dbus_module Test that the ConfigVersion.cmake files work. 2013-03-13 09:48:58 +01:00
test_dependent_modules Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_egl_lib Add IMPORTED targets for the GL libraries used by Qt. 2013-04-22 18:35:52 +02:00
test_interface Populate includes, defines and pic flags in target interfaces. 2013-03-27 14:54:49 +01:00
test_json_plugin_includes CMake: Improve QT5_GET_MOC_FLAGS macro 2012-10-04 11:58:48 +02:00
test_multiple_find_package Populate the cmake variables only one time. 2013-02-21 22:41:05 +01:00
test_opengl_lib Add IMPORTED targets for the GL libraries used by Qt. 2013-04-22 18:35:52 +02:00
test_openglextensions_module Test the OpenGLExtensions cmake module. 2013-03-14 16:38:57 +01:00
test_platform_defs_include Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_private_includes Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_qtmainwin_library Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_testlib_definitions Make the qtbase cmake tests work without the Widgets module. 2013-03-18 20:17:10 +01:00
test_testlib_no_link_gui Doc: Fix module name format 2013-01-25 17:27:44 +01:00
test_testlib_no_link_widgets Doc: Fix module name format 2013-01-25 17:27:44 +01:00
test_umbrella_config Generate a Qt5ConfigVersion.cmake file. 2013-03-13 16:07:09 +01:00
test_use_modules_function Make cmake tests not depend on QtWidgets where not needed. 2013-03-15 10:04:30 +01:00
test_wrap_cpp_and_resources Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test_wrap_cpp_options Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
test(needsquoting)dirname Clean up cmake test regarding dependencies. 2013-03-15 10:04:23 +01:00
cmake.pro Test that the CMake files create appropriate version variables. 2013-04-05 14:20:39 +02:00
CMakeLists.txt Add IMPORTED targets for the GL libraries used by Qt. 2013-04-22 18:35:52 +02:00