On Tuesday 11 September 2012, Benjamin Eikel wrote: > Am Dienstag, 11. September 2012 um 21:44:29 schrieb Alexander Neundorf: > > On Thursday 30 August 2012, Benjamin Eikel wrote: > > > Am Mittwoch, 29. August 2012 um 18:53:51 schrieb Brad King: > > > > On 08/29/2012 05:43 AM, Benjamin Eikel wrote: > > > > > I have written a find module for the OpenGL Extension Wrangler > > > > > (GLEW) [1] library (see attachment). I tried to follow all the > > > > > instructions that I have found. I am willing to maintain that > > > > > module. > > > > > > > > Great, thanks for your work! > > > > > > > > Please proceed through steps 5 and 6 here: > > > > http://www.cmake.org/Wiki/CMake:Module_Maintainers#New_Maintainer > > > > > > > > You're welcome to work on other modules (like SDL) as well, but > > > > please bring up changes for discussion on the list with the > > > > current maintainer of each. > > > > > > > > > "glew.h" does not contain any version information. > > > > > > > > It looks like there are version "macros" that evaluate to runtime > > > > tests. How is one supposed to do any preprocessor conditionals > > > > based on the version when using GLEW? > > > > > > I do not know of any preprocessor tests. There is a possiblity at > > > runtime to call "glewGetString(GLEW_VERSION)", but I think it would be > > > too resource intensive to compile and run an application in the find > > > module. > > > > Any progress here ? > > I did not plan to include a test that runs an application to determine the > version. Do you think that this should be done?
My personal opinion: a FindGLEW.cmake which does not test the version is better than no FindGLEW.cmake at all . Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers