Carsten Rudolph 827bfad29a
[glad] Add features to support different configurations. (#16742)
* Replace control file with manifest.

* Update portfile and add features.

* Added support for multiple specs.

* Added OpenGL API features.

* Fixed gles1/glsc2 format.

* Fixed invalid invoke with default arguments.

* Apply format.

* Always use compatibility profile.

* Replace deprecated cmake commands.

* Use `vcpkg_check_features` for no-loader and extensions features.

* Add patch to ignore python detection.

* Update glad port version.

* Remove `core-profile` feature from manifest.

* Bump glad port version.

* Only set profile, if not provided.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Added note about custom triplet.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Use string-append to build spec list.

* Invert loader feature and use it by default.

* Reset port version.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Use `version` instead of `version-string`.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Made API version features inter-dependent.

* Also added dependencies if major version jumps.

Note that only the latest verison gets passed to the generator anyway.

* Apply format conventions.

* Bump glad version.

* Add note about wgl and glx compatibility.

* Bump glad version.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-07 13:33:59 -07:00
..