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

[question] What heppened with the CMakeLists.txt file in the repository root? #454

Open
yurivict opened this issue Feb 5, 2024 · 4 comments

Comments

@yurivict
Copy link

yurivict commented Feb 5, 2024

We have the FreeBSD port graphics/glad with version 0.1.36 that builds a cmake-based project.
Now 2.x.x doesn't have a cmake file any more.
Was the project re-written in Python?

@Dav1dde
Copy link
Owner

Dav1dde commented Feb 5, 2024

The CMake files just moved into the cmake directory. Usage changed also a bit, e.g. see one of the examples

@yurivict
Copy link
Author

yurivict commented Feb 5, 2024

cmake/CMakeLists.txt doesn't build anything though.
It doesn't have the add_library(glad ...) instruction.
No other CMakeLists.txt has such instruction.

@Dav1dde
Copy link
Owner

Dav1dde commented Feb 5, 2024

Correct, glad was never supposed to be built either, it should be integrated directly in tools which use it.

@manuelkNVDA
Copy link

as is, the CMakeLists build of the included code sample is broken and there doesn't appear to be any instructions on how to get this code sample to work

glad\example\c++\multiwin_mx\multiwin_mx.cpp(3,10): error C1083: Cannot open include file: 'glad/gl.h': No such file or director

i would also suggest having cmake fetch glfw automatically if it is not yet a target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants