From: Diederick Niehorster Date: Thu, 28 Feb 2013 13:40:28 +0000 (+0000) Subject: fixed documentation for GLUT_ICON (its not an environment variable, but X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=aede2b7496674f14110911c2cef8a9f72c1e90c7;p=freeglut fixed documentation for GLUT_ICON (its not an environment variable, but an identifier for a resource file) and added an example of it for the One demo git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1530 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8dd1fef..6f6130e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -432,7 +432,12 @@ ADD_DEMO(CallbackMaker progs/demos/CallbackMaker/CallbackMaker.c) ADD_DEMO(Fractals progs/demos/Fractals/fractals.c) ADD_DEMO(Fractals_random progs/demos/Fractals_random/fractals_random.c) ADD_DEMO(Lorenz progs/demos/Lorenz/lorenz.c) -ADD_DEMO(One progs/demos/One/one.c) +IF (NOT WIN32) + ADD_DEMO(One progs/demos/One/one.c) +ELSE() + ADD_DEMO(One progs/demos/One/one.c + progs/demos/One/one.rc) +ENDIF() ADD_DEMO(Resizer progs/demos/Resizer/Resizer.cpp) ADD_DEMO(multi-touch progs/demos/multi-touch/multi-touch.c) ADD_DEMO(shapes progs/demos/shapes/shapes.c