vcpkg/ports/angle
Kai Pastor 47633daa65
[vcpkg-scripts] Catch use of ambiguous cmake vars (#34546)
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in
scripts and portfiles by detection in CI.

Sometimes the variables are used wrongly, and sometimes this isn't
caught in PR review. This PR tries to catch those variables (when in the
active code path in script mode). [This can happen to every
contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122),
even if he/she knows the rules ... vcpkg is raising the bar higher than
usual, having to deal with targets and hosts even in script mode.

(`b2-options.cmake` (boost fragment) shows where we get if we don't pay
attention: the same code being used in script mode (`WIN32` meaning
host) and in project mode (`WIN32` meaning target).)

The new check doesn't break any user builds because it relies on command
line options. However it changes the ABI hashes.
2024-06-14 11:40:01 -07:00
..
cmake-buildsystem [angle] Avoid link to frameworks with absolute path on macOS (#32890) 2023-08-02 09:08:34 -07:00
001-fix-uwp.patch
002-fix-builder-error.patch [angle] Fix gcc13 compilation error (#32499) 2023-07-11 11:20:55 -07:00
003-fix-mingw.patch
angle_commit.h.in [angle] Update to chromium/5414, improve build system (and future updates) (#27444) 2023-02-10 11:45:11 -08:00
portfile.cmake [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
unofficial-angle-config.cmake [angle] Improve UX for unofficial CMake package (#28547) 2023-01-04 14:41:32 -08:00
usage [angle] Improve UX for unofficial CMake package (#28547) 2023-01-04 14:41:32 -08:00
vcpkg.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00