News for hackers. Stuff that matters.
Re:Glitter – Dead-simple boilerplate for OpenGL by DanAndersen on Saturday August 29, 2015 @05:22PM (#10141389)
To help improve my OpenGL/graphics knowledge, I've started going through GPU Gems ( https://a248.e.akamai.net/f/248/10/10/http.developer.nvidia.... ) and building my own examples of the concepts in each chapter. I was very happy to find Glitter recently, as it made the obnoxious hurdle of setting up all the dependencies unnecessary.

Also, setting up Glitter was what led me to finally "getting" what CMake was for and how it fit into a development pipeline.

Re:Glitter – Dead-simple boilerplate for OpenGL by Polytonic on Saturday August 29, 2015 @06:12PM (#10141522)
Yeah, CMake is a bit of a complicated beast to "learn" so to speak. I spent a fair number of hours pulling my hair out trying to get it working.

This is the result! Hope you find it helpful!

Re:Glitter – Dead-simple boilerplate for OpenGL by santaclaus on Saturday August 29, 2015 @06:41PM (#10141599)
Is there a particular reason you choose to explicitly add CXX flags ('-std=c++11') over CMake's compiler feature support? The later is, in principle, more portable and future proof than hardcoding the flags.
Re:Glitter – Dead-simple boilerplate for OpenGL by Polytonic on Saturday August 29, 2015 @07:01PM (#10141643)
This was asked in an issue earlier today. It's a combination of 1) I didn't even know such flags existed! and 2) I had some compatibility issues with older versions of CMake on my test machines.

I'll look into adding it in the future though!