-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm posting to mesa3d-dev because there doesn't appear to be a piglit
mailing list.

I have a couple tests that I'd like to add to piglit, but I've written
them to use GLEW.  Is that okay?  I prefer GLEW over just defining
GL_GLEXT_PROTOTYPES or trying to re-re-re-re-invent the wheel in
piglit-util.c.

I added this to the cmake build infrastructure by adding the following
to the CMakeLists.txt in the directories where my tests live:

FIND_LIBRARY( GLEW_glew_LIBRARY GLEW
        /usr/lib
)

FIND_PATH( GLEW_INCLUDE_DIR GL/glew.h
      /usr/include/GL
)

I then add GLEW_glew_LIBRARY and GLEW_INCLUDE_DIR in include_directories
and link_libraries.  Is this the right way to do this?

Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm+5p4ACgkQX1gOwKyEAw+6FACeNnEM6cKxqxRxXbl3A2jrRnt2
naoAmwfS0tUVkiugGWk2aErZZb1vuYWg
=tOC7
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to