summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/camerabin/CMakeLists.txt
blob: 9584979b3a32be1d0270cb7f0c54e90a26fc3ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Generated from camerabin.pro.

#####################################################################
## CameraBinServicePlugin Plugin:
#####################################################################

qt_internal_add_plugin(CameraBinServicePlugin
    OUTPUT_NAME gstcamerabin
    TYPE mediaservice
    SOURCES
        camerabinaudioencoder.cpp camerabinaudioencoder.h
        camerabincapturebufferformat.cpp camerabincapturebufferformat.h
        camerabincapturedestination.cpp camerabincapturedestination.h
        camerabincontainer.cpp camerabincontainer.h
        camerabincontrol.cpp camerabincontrol.h
        camerabinimagecapture.cpp camerabinimagecapture.h
        camerabinimageencoder.cpp camerabinimageencoder.h
        camerabinimageprocessing.cpp camerabinimageprocessing.h
        camerabinmetadata.cpp camerabinmetadata.h
        camerabinrecorder.cpp camerabinrecorder.h
        camerabinservice.cpp camerabinservice.h
        camerabinserviceplugin.cpp camerabinserviceplugin.h
        camerabinsession.cpp camerabinsession.h
        camerabinvideoencoder.cpp camerabinvideoencoder.h
        camerabinzoom.cpp camerabinzoom.h
    INCLUDE_DIRECTORIES
        ${CMAKE_CURRENT_SOURCE_DIR}
        /src/multimedia
        camerabin
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::CorePrivate
        Qt::Gui
        Qt::MultimediaPrivate
        Qt::Network
        gstreamer
        multimediagsttoolsPrivate
)

#### Keys ignored in scope 1:.:.:camerabin.pro:<TRUE>:
# OTHER_FILES = "camerabin.json"

## Scopes:
#####################################################################

qt_internal_extend_target(CameraBinServicePlugin CONDITION QT_FEATURE_gstreamer_photography
    SOURCES
        camerabinexposure.cpp camerabinexposure.h
        camerabinfocus.cpp camerabinfocus.h
        camerabinlocks.cpp camerabinlocks.h
    DEFINES
        GST_USE_UNSTABLE_API
    PUBLIC_LIBRARIES
        gstreamer_photography
)

qt_internal_extend_target(CameraBinServicePlugin CONDITION QT_FEATURE_linux_v4l
    SOURCES
        camerabinv4limageprocessing.cpp camerabinv4limageprocessing.h
)

qt_internal_extend_target(CameraBinServicePlugin CONDITION TARGET Qt::Widgets
    DEFINES
        HAVE_WIDGETS
    PUBLIC_LIBRARIES
        Qt::MultimediaWidgetsPrivate
        Qt::Widgets
)

qt_internal_extend_target(CameraBinServicePlugin CONDITION QT_FEATURE_gstreamer_app
    PUBLIC_LIBRARIES
        gstreamer_app
)