| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
qt_internal_add_qml_module(3DQuickScene2D |
| 5 |
URI "QtQuick.Scene2D" |
| 6 |
VERSION "${PROJECT_VERSION}" |
| 7 |
PAST_MAJOR_VERSIONS 2 |
| 8 |
DEPENDENCIES |
| 9 |
Qt3D.Core/auto |
| 10 |
Qt3D.Render/auto |
| 11 |
NO_GENERATE_PLUGIN_SOURCE |
| 12 |
CLASS_NAME QtQuickScene2DPlugin |
| 13 |
PLUGIN_TARGET qtquickscene2dplugin |
| 14 |
SOURCES |
| 15 |
items/qscene2d.cpp items/qscene2d.h items/qscene2d_p.h |
| 16 |
items/qt3dquick3dscene2d.cpp items/qt3dquick3dscene2d_p.h |
| 17 |
items/scene2d.cpp items/scene2d_p.h |
| 18 |
items/scene2devent_p.h |
| 19 |
items/scene2dmanager.cpp items/scene2dmanager_p.h |
| 20 |
items/scene2dsharedobject.cpp items/scene2dsharedobject_p.h |
| 21 |
qt3dquickscene2d_global.cpp qt3dquickscene2d_global.h qt3dquickscene2d_global_p.h |
| 22 |
qt3dquickscene2d_logging.cpp qt3dquickscene2d_logging_p.h |
| 23 |
qt3dquickscene2dnodefactory.cpp qt3dquickscene2dnodefactory_p.h |
| 24 |
INCLUDE_DIRECTORIES |
| 25 |
items |
| 26 |
LIBRARIES |
| 27 |
Qt::3DCorePrivate |
| 28 |
Qt::3DQuickPrivate |
| 29 |
Qt::3DRenderPrivate |
| 30 |
Qt::CorePrivate |
| 31 |
Qt::QmlPrivate |
| 32 |
PUBLIC_LIBRARIES |
| 33 |
Qt::3DCore |
| 34 |
Qt::3DQuick |
| 35 |
Qt::3DRender |
| 36 |
Qt::Core |
| 37 |
Qt::Gui |
| 38 |
Qt::Qml |
| 39 |
PRIVATE_MODULE_INTERFACE |
| 40 |
Qt::3DCorePrivate |
| 41 |
Qt::3DQuickPrivate |
| 42 |
Qt::3DRenderPrivate |
| 43 |
Qt::CorePrivate |
| 44 |
Qt::QmlPrivate |
| 45 |
) |
| 46 |
|
| 47 |
qt_internal_extend_target(3DQuickScene2D CONDITION gcov |
| 48 |
COMPILE_OPTIONS |
| 49 |
-fprofile-arcs |
| 50 |
-ftest-coverage |
| 51 |
LINK_OPTIONS |
| 52 |
"-fprofile-arcs" |
| 53 |
"-ftest-coverage" |
| 54 |
) |
| 55 |
|
| 56 |
qt_internal_extend_target(qtquickscene2dplugin |
| 57 |
SOURCES |
| 58 |
qtquickscene2dplugin.h qtquickscene2dplugin.cpp |
| 59 |
LIBRARIES |
| 60 |
Qt::3DRenderPrivate |
| 61 |
Qt::Core |
| 62 |
Qt::Qml |
| 63 |
) |