vcpkg/versions/x-
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
..
x86-simd-sort.json [x86-simd-sort] update to 4.0 (#36456) 2024-01-29 20:04:55 -08:00
x264.json [x264] update to r3107 (#32262) 2023-06-28 01:01:43 -07:00
x265.json [alsa,fdk-aac,ffmpeg,libsrt,snappy,x265] Code cleanup, fix and use pkg-config (#39077) 2024-06-06 00:48:31 -07:00
x-plane.json [x-plane] Update to 4.0.1, effectively new port (#35032) 2023-12-14 00:19:20 -08:00
xalan-c.json [many ports] call vcpkg_fixup_pkgconfig() (#20953) 2021-10-27 15:19:28 -07:00
xapian.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
xaudio2redist.json [xaudio2redist] Code cleanup for port (#37455) 2024-03-15 18:38:47 -07:00
xbitmaps.json Add X windows part 12/N (#27512) 2022-11-01 14:00:11 -07:00
xbyak.json [xbyak] Update to 7.06 (#38726) 2024-05-15 15:22:35 -07:00
xcb-image.json X Window Part 9/N (some xcb ports) (#27240) 2022-10-25 21:25:47 -07:00
xcb-keysyms.json X Window Part 9/N (some xcb ports) (#27240) 2022-10-25 21:25:47 -07:00
xcb-proto.json [vcpkg-tool-meson] Update meson to 1.3.2 (#28084) 2024-03-11 14:09:15 -07:00
xcb-render-util.json X Window Part 9/N (some xcb ports) (#27240) 2022-10-25 21:25:47 -07:00
xcb-util-errors.json [vcpkg baseline][vcpkg scripts] Drop ${pc_sysrootdir} (#36843) 2024-02-21 21:59:11 -08:00
xcb-util-m4.json [Part1|xwindow PR] Split up to dbus (#22642) 2022-08-22 12:26:13 -07:00
xcb-util-wm.json [urho3d, xcb-util-wm] Hash fixes (#29383) 2023-02-02 19:36:12 -08:00
xcb-util.json X Window Part 9/N (some xcb ports) (#27240) 2022-10-25 21:25:47 -07:00
xcb.json [many ports] Add X windows part 11/N (#27441) 2022-11-11 17:32:25 -08:00
xerces-c.json [xerces-c] Update to 3.2.5 (#36045) 2024-01-08 13:08:13 -08:00
xeus.json [xeus] Fix libuuid dependency (#31101) 2023-04-25 21:35:53 -07:00
xframe.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
xlnt.json [xlnt] Add missing include (#25925) 2022-07-22 10:53:47 -07:00
xlsxio.json [minizip,xlsxio,fmilib,collada-dom] Minizip fixes, xlsxio update (#30930) 2023-04-25 22:40:19 -07:00
xmlsec.json [xmlsec] Update to 1.3.3 (#37441) 2024-03-15 18:37:31 -07:00
xmsh.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
xnnpack.json [libtorch] update to 2.1.2 (#36246) 2024-01-30 14:15:33 -08:00
xorg-macros.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
xorstr.json [xorstr] Bump to 2021-11-20 (#29323) 2023-02-01 11:13:30 -08:00
xpack.json [xpack]Update to 1.0.5 (#31299) 2023-05-08 17:12:47 -07:00
xproperty.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
xproto.json [Part1|xwindow PR] Split up to dbus (#22642) 2022-08-22 12:26:13 -07:00
xqilla.json Activate Android NDK r26d in vcpkg CI (#35851) 2024-06-11 13:26:30 -07:00
xsimd.json [xsimd] update to 12.1.1 (#37331) 2024-03-11 13:04:11 -07:00
xtensor-blas.json [xtensor-blas] Updates to 0.20.0 (#26275) 2022-08-12 15:43:39 -07:00
xtensor-fftw.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
xtensor-io.json [ xtensor-io ] Fix wrong hash (#22018) 2021-12-14 12:57:42 -08:00
xtensor.json [xtensor] update to 0.25.0 (#36383) 2024-01-26 09:41:37 -08:00
xtl.json [xtl] Update to 0.7.7 (#37333) 2024-03-11 13:06:16 -07:00
xtrans.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
xxhash.json [xxhash] update to 0.8.2 (#32717) 2023-07-24 10:57:01 -07:00