2009-02-07 20:19:24 +00:00
|
|
|
add_definitions(-DHAVE_CONFIG_H)
|
|
|
|
|
2008-09-11 00:07:12 +00:00
|
|
|
include_directories(AFTER
|
|
|
|
${GSTREAMER_INCLUDE_DIR}
|
|
|
|
${GLIB2_INCLUDE_DIR}
|
2009-02-24 23:39:48 +00:00
|
|
|
${PNG_INCLUDE_DIR}
|
|
|
|
${ZLIB_INCLUDE_DIR}
|
2008-09-11 00:07:12 +00:00
|
|
|
../../gst-libs/gst/gl
|
|
|
|
${GLEW_INCLUDE_DIR}
|
|
|
|
../../gst-libs
|
2009-02-07 20:19:24 +00:00
|
|
|
../..
|
2008-09-11 00:07:12 +00:00
|
|
|
.
|
|
|
|
effects)
|
2009-10-23 08:52:39 +00:00
|
|
|
|
2009-02-08 00:50:10 +00:00
|
|
|
if (NOT GST_USING_BINARY_REGISTRY)
|
|
|
|
include_directories(AFTER
|
|
|
|
${LIBXML2_INCLUDE_DIR}
|
|
|
|
${LIBICONV_INCLUDE_DIR})
|
|
|
|
endif (NOT GST_USING_BINARY_REGISTRY)
|
2008-09-11 00:07:12 +00:00
|
|
|
|
2009-02-07 20:19:24 +00:00
|
|
|
if (WIN32)
|
|
|
|
include_directories(AFTER ../../win32/common)
|
|
|
|
endif (WIN32)
|
|
|
|
|
2009-07-24 08:33:47 +00:00
|
|
|
add_library (gstopengl MODULE
|
2008-09-11 00:07:12 +00:00
|
|
|
gstopengl.c
|
2008-10-16 21:47:01 +00:00
|
|
|
gstglimagesink.c
|
|
|
|
gstglupload.c
|
|
|
|
gstgldownload.c
|
2008-09-11 00:07:12 +00:00
|
|
|
gstglfilterblur.c
|
2008-10-16 21:47:01 +00:00
|
|
|
gstglfiltercube.c
|
|
|
|
gstglfilterlaplacian.c
|
2008-09-24 17:32:48 +00:00
|
|
|
gstglfiltersobel.c
|
2008-10-16 21:47:01 +00:00
|
|
|
gstglfilterglass.c
|
|
|
|
gstglfilterapp.c
|
2010-04-26 12:32:28 +00:00
|
|
|
gstglfilterreflectedscreen.c
|
2011-11-17 16:36:44 +00:00
|
|
|
gstglfiltershader.c
|
2008-10-16 21:47:01 +00:00
|
|
|
gstglcolorscale.c
|
2008-09-11 00:07:12 +00:00
|
|
|
gltestsrc.c
|
2008-10-16 21:47:01 +00:00
|
|
|
gstgltestsrc.c
|
2009-02-24 23:39:48 +00:00
|
|
|
gstgloverlay.c
|
2009-06-24 23:30:44 +00:00
|
|
|
gstgldeinterlace.c
|
2009-02-24 23:39:48 +00:00
|
|
|
gstgldifferencematte.c
|
|
|
|
gstglbumper.c
|
2008-10-16 21:47:01 +00:00
|
|
|
gstgleffects.c
|
2009-10-23 08:52:39 +00:00
|
|
|
gstglmosaic.c
|
2008-10-16 21:47:01 +00:00
|
|
|
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
|
|
|
|
effects/gstgleffectxray.c)
|
2009-10-23 08:52:39 +00:00
|
|
|
|
2008-09-11 00:07:12 +00:00
|
|
|
target_link_libraries(gstopengl
|
|
|
|
general gstgl
|
2011-11-18 09:10:59 +00:00
|
|
|
general ${JPEG_LIBRARY}
|
2009-02-08 00:50:10 +00:00
|
|
|
general ${PNG_LIBRARY}
|
|
|
|
general ${ZLIB_LIBRARY})
|