-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ian Romanick wrote: > 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?
As an example, see the attachment to bug #20701. http://bugs.freedesktop.org/show_bug.cgi?id=20701 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm+7DEACgkQX1gOwKyEAw+j1gCfS8+62qPnXhiz0mB/3PCI/XsL ThkAniNHVZ3wBO1cqKdo6h21pnr9zAQL =4Tg7 -----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