Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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!


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.


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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: