Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt request #4

Open
mihsamusev opened this issue Aug 21, 2021 · 3 comments
Open

CMakeLists.txt request #4

mihsamusev opened this issue Aug 21, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@mihsamusev
Copy link

Hi, is it possible to include a CMakeLists.txt file for non Visual Studio users?

@VictorGordan
Copy link
Owner

I've never worked with CMake so... no, I don't think I can do that :(

But maybe someone else will do it ¯_(ツ)_/¯

@VictorGordan VictorGordan added the enhancement New feature or request label Aug 21, 2021
@chirag-droid
Copy link

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

@naszly
Copy link

naszly commented Jun 25, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants