summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/qt7/CMakeLists.txt
blob: 5310be12ef2567231da86b36557590e49e6e67d5 (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
# Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
#
# This library is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 2 or 3 of the License.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library.  If not, see <http://www.gnu.org/licenses/>.
project(phonon-qt7)
include(ConfigureChecks.cmake)

include_directories(${OPENGL_INCLUDE_DIR})

if (BUILD_PHONON_QT7)
    set(phonon_qt7_SRCS
        quicktimevideoplayer.mm
        backendheader.mm 
        medianodevideopart.mm 
        medianodeevent.mm 
        audiooutput.mm 
        backendinfo.mm 
        audiosplitter.mm 
        audioeffects.mm 
        quicktimestreamreader.mm 
        medianode.mm 
        backend.mm 
        mediaobject.mm 
        mediaobjectaudionode.mm 
        audiomixer.mm  
        quicktimeaudioplayer.mm 
        videoframe.mm 
        quicktimemetadata.mm 
        audiodevice.mm 
        audioconnection.mm 
        audiograph.mm 
        audionode.mm 
        videowidget.mm
       )

   automoc4_add_library(phonon_qt7 MODULE ${phonon_qt7_SRCS})
   target_link_libraries(phonon_qt7
       ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY}
       ${PHONON_LIBS}
       "-framework QuickTime"
       "-framework AudioUnit"
       "-framework AudioToolbox"
       "-framework CoreAudio"
       "-framework QuartzCore"
       "-framework QTKit"
       )
    install(TARGETS phonon_qt7 DESTINATION ${PLUGIN_INSTALL_DIR})

endif (BUILD_PHONON_QT7)