Neat, thanks for your work! Newbie interested in OpenGL here, I followed the instructions but get a segfault, any idea? I pasted my session at http://pastebin.com/hxXauQSQ
Hi, can you open a GitHub issue for this? Would prefer to keep problems centralized to the repository.
Glitter – Dead-simple boilerplate for OpenGL
11–18 of 18 posts
Re: Glitter – Dead-simple boilerplate for OpenGL
#12 cmake ..
cmake --build .
This smartly invokes make/ninja/msbuild or whatever directly from the command line; very useful on windows machines or to have 'universal' cmake runners for CI that touches multiple platforms.(Also, tutorials; `cmake .. && cmake --build .` should smartly determine the correct compiler for the system and build it; you don't need the -G "FOO" stuff unless you're specifically doing something fancy)
Re: Glitter – Dead-simple boilerplate for OpenGL
#13Earlier quoted context omitted.
Hi, can you open a GitHub issue for this? Would prefer to keep problems centralized to the repository.
Sure, will do, I was just thinking it was some error of mine.
Re: Glitter – Dead-simple boilerplate for OpenGL
#14FYI one of the lesser known features of cmake is that it can invoke your build tool as well: cmake .. cmake --build . This smartly invokes make/ninja/msbuild or whatever directly from the command line; very useful on windows machines or to have 'universal' cmake runners for CI that touches multiple platforms. (Also, tutorials; `cmake .. && cmake --build .` should smartly determine the correct compiler for the system…
What does it do under Windows? Does it run say, devenv.exe/msbuild in the shell, as opposed to in Visual Studio?
Re: Glitter – Dead-simple boilerplate for OpenGL
#15FYI one of the lesser known features of cmake is that it can invoke your build tool as well: cmake .. cmake --build . This smartly invokes make/ninja/msbuild or whatever directly from the command line; very useful on windows machines or to have 'universal' cmake runners for CI that touches multiple platforms. (Also, tutorials; `cmake .. && cmake --build .` should smartly determine the correct compiler for the system…
TIL! This is awesome! I never knew about this. What does it do under Windows? Does it run say, devenv.exe/msbuild in the shell, as opposed to in Visual Studio?
(So you can actually be in 100% console mode in windows if you want and never launch VS. :)
Re: Glitter – Dead-simple boilerplate for OpenGL
#16Re: Glitter – Dead-simple boilerplate for OpenGL
#17[deleted]
Glitter started off as a quickstart for students taking Computer Graphics related classes at my school, not as the foundation for writing commercial game engines.
Was there something in mind that you feel like is missing? I'm happy to add to the readme.
Re: Glitter – Dead-simple boilerplate for OpenGL
#18Earlier quoted context omitted.
Sure, will do, I was just thinking it was some error of mine.
Hey, I noticed you haven't actually opened an issue. Did you work through your problem or ...?