[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:
Julien Isorce 2008-09-11 02:07:12 +02:00 committed by Tim-Philipp Müller
parent 0d6c956cfb
commit 3d6116ee45

View 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})