1 include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
19 QGst/pluginfeature.cpp
20 QGst/elementfactory.cpp
25 ${CMAKE_CURRENT_BINARY_DIR}/gen.cpp
31 QGlib/quark.h QGlib/Quark
32 QGlib/type.h QGlib/Type
33 QGlib/refpointer.h QGlib/RefPointer
34 QGlib/paramspec.h QGlib/ParamSpec
35 QGlib/object.h QGlib/Object
36 QGlib/value.h QGlib/Value
37 QGlib/closure.h QGlib/Closure
39 QGlib/valueimpl/assert.h
40 QGlib/valueimpl/valueimpl.h
41 QGlib/valueimpl/nativetypes.h
42 QGlib/valueimpl/paramspecptr.h
43 QGlib/valueimpl/objectptr.h
45 QGst/global.h QGst/Global
47 QGst/structure.h QGst/Structure
49 QGst/miniobject.h QGst/MiniObject
50 QGst/object.h QGst/Object
52 QGst/ghostpad.h QGst/GhostPad
53 QGst/element.h QGst/Element
54 QGst/pluginfeature.h QGst/PluginFeature
55 QGst/elementfactory.h QGst/ElementFactory
57 QGst/childproxy.h QGst/ChildProxy
58 QGst/pipeline.h QGst/Pipeline
59 QGst/message.h QGst/Message
84 add_custom_command(OUTPUT gen.cpp
86 ARGS ${CODEGEN_HEADERS} > ${CMAKE_CURRENT_BINARY_DIR}/gen.cpp
87 DEPENDS codegen ${CODEGEN_HEADERS}
88 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
90 automoc4_add_library(QtGstreamer SHARED ${QtGstreamer_SRCS})
91 set_target_properties(QtGstreamer PROPERTIES SOVERSION 0 VERSION 0.0.2)
92 target_link_libraries(QtGstreamer ${QT_QTCORE_LIBRARY} ${GSTREAMER_LIBRARIES}
93 ${GSTREAMER_INTERFACE_LIBRARY} ${GOBJECT_LIBRARIES})
94 target_link_libraries(QtGstreamer LINK_INTERFACE_LIBRARIES ${QT_QTCORE_LIBRARY})
97 install(TARGETS QtGstreamer DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
99 foreach(header ${INSTALLED_HEADERS})
100 get_filename_component(header_path ${header} PATH)
101 install(FILES ${header} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/QtGstreamer/${header_path})
102 endforeach(header ${INSTALLED_HEADERS})