mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
[217/906] Add cmake build http://www.cmake.org. See CMake install instructions in the INSTALL file. (I have not correctly configured yet the CMake build for unix, BE patient)
This commit is contained in:
parent
66464c279d
commit
fde783262f
2 changed files with 75 additions and 0 deletions
22
gst-libs/gst/gl/CMakeLists.txt
Normal file
22
gst-libs/gst/gl/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
add_definitions(-DHAVE_CONFIG_H)
|
||||
|
||||
include_directories(AFTER
|
||||
../../../win32/common
|
||||
${GLEW_INCLUDE_DIR}
|
||||
../freeglut
|
||||
${GSTREAMER_INCLUDE_DIR}
|
||||
${GLIB2_INCLUDE_DIR}
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${LIBICONV_INCLUDE_DIR})
|
||||
|
||||
add_library (gstgl STATIC
|
||||
gstgldisplay.c
|
||||
gstglbuffer.c
|
||||
gstglfilter.c
|
||||
gstglshader.c)
|
||||
|
||||
target_link_libraries(gstgl
|
||||
general gstfreeglut
|
||||
general ${GLEW_LIBRARY}
|
||||
general ${GLIB2_LIBRARIES}
|
||||
general ${GSTREAMER_LIBRARIES})
|
53
gst/gl/CMakeLists.txt
Normal file
53
gst/gl/CMakeLists.txt
Normal file
|
@ -0,0 +1,53 @@
|
|||
add_definitions(-DHAVE_CONFIG_H -DHAVE_GDKPIXBUF)
|
||||
|
||||
include_directories(AFTER
|
||||
../../win32/common
|
||||
${GSTREAMER_INCLUDE_DIR}
|
||||
${GLIB2_INCLUDE_DIR}
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${LIBICONV_INCLUDE_DIR}
|
||||
${LIBATK_INCLUDE_DIR}
|
||||
${CAIRO_INCLUDE_DIR}
|
||||
${GTK2_INCLUDE_DIR}
|
||||
../../gst-libs/gst/gl
|
||||
${GLEW_INCLUDE_DIR}
|
||||
../../gst-libs/gst/freeglut
|
||||
../../gst-libs
|
||||
.
|
||||
effects)
|
||||
|
||||
add_library (gstopengl SHARED
|
||||
gstopengl.c
|
||||
gstglimagesink.c
|
||||
gstglimagesink.h
|
||||
gstglupload.c
|
||||
gstgldownload.c
|
||||
gstglfilterblur.c
|
||||
gstglfiltercube.c
|
||||
gstglfilterlaplacian.c
|
||||
gstglfilterapp.c
|
||||
gstglcolorscale.c
|
||||
gltestsrc.c
|
||||
gstgltestsrc.c
|
||||
gstgleffects.c
|
||||
gstglpixbufoverlay.c
|
||||
gstgldifferencematte.c
|
||||
gstglbumper.c
|
||||
effects/gstgleffectssources.c
|
||||
effects/gstgleffectidentity.c
|
||||
effects/gstgleffectmirror.c
|
||||
effects/gstgleffectsqueeze.c
|
||||
effects/gstgleffectstretch.c
|
||||
effects/gstgleffecttunnel.c
|
||||
effects/gstgleffectfisheye.c
|
||||
effects/gstgleffecttwirl.c
|
||||
effects/gstgleffectbulge.c
|
||||
effects/gstgleffectsquare.c
|
||||
effects/gstgleffectlumatocurve.c
|
||||
effects/gstgleffectrgbtocurve.c
|
||||
effects/gstgleffectsin.c
|
||||
effects/gstgleffectglow.c)
|
||||
|
||||
target_link_libraries(gstopengl
|
||||
general gstgl
|
||||
general ${GTK2_LIBRARIES})
|
Loading…
Reference in a new issue