gstreamer/gst/gl/CMakeLists.txt

62 lines
1.3 KiB
CMake

add_definitions(-DHAVE_CONFIG_H)
include_directories(AFTER
${GSTREAMER_INCLUDE_DIR}
${GLIB2_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
../../gst-libs/gst/gl
${GLEW_INCLUDE_DIR}
../../gst-libs
../..
.
effects)
if (NOT GST_USING_BINARY_REGISTRY)
include_directories(AFTER
${LIBXML2_INCLUDE_DIR}
${LIBICONV_INCLUDE_DIR})
endif (NOT GST_USING_BINARY_REGISTRY)
if (WIN32)
include_directories(AFTER ../../win32/common)
endif (WIN32)
add_library (gstopengl SHARED
gstopengl.c
gstglimagesink.c
gstglupload.c
gstgldownload.c
gstglfilterblur.c
gstglfiltercube.c
gstglfilterlaplacian.c
gstglfiltersobel.c
gstglfilterglass.c
gstglfilterapp.c
gstglcolorscale.c
gltestsrc.c
gstgltestsrc.c
gstgloverlay.c
gstgldifferencematte.c
gstglbumper.c
gstgleffects.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
effects/gstgleffectxray.c)
target_link_libraries(gstopengl
general gstgl
general ${PNG_LIBRARY}
general ${ZLIB_LIBRARY})