opengl-tutorials
opengl-tutorials copied to clipboard
CMakeLists.txt request
Hi, is it possible to include a CMakeLists.txt file for non Visual Studio users?
I've never worked with CMake so... no, I don't think I can do that :(
But maybe someone else will do it ¯_(ツ)_/¯
I just started with OpenGl, but I do know cmake. So I made a new repository https://GitHub.com/chirag-droid/OpenGl it includes a CMakeLists.txt
I have made a fork that uses cmake, but there are a few issues: On Windows the build fails when copying shaders to the build directory and the path contains an '&' symbol. (Tutorial 16-19) On Linux globally declared 'gamma' variable is redeclaring 'gamma' form mathcalls.h. Easiest solution would be to declare gamma inside main or rename gamma. (Tutorial 24-30)
Everything else works fine. (tested only on windows and linux) https://github.com/naszly/opengl-tutorials Should I make a pull request with the current state?