vcpkg/versions/e-
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
..
eabase.json [many ports]switch to vcpkg-cmake / vckg-cmake-config part 1 (#29880) 2023-03-06 15:44:04 -08:00
earcut-hpp.json [earcut-hpp] Update to 2.2.4 (#29068) 2023-01-24 00:47:17 -08:00
eastl.json [eastl] update to 3.21.12 (#34126) 2023-10-02 20:28:06 -07:00
easycl.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
easyexif.json [easyexif] create a new port (#27118) 2022-10-06 11:52:26 -07:00
easyhook.json [easyhook] msbuild update (#33091) 2023-08-10 11:03:11 -07:00
easyloggingpp.json [easyloggingpp] Fix pkgconfig and add usage (#36851) 2024-02-21 09:35:50 -08:00
eathread.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
ebml.json [ebml] update to 1.4.5 (#37209) 2024-03-07 22:35:25 -08:00
ecal.json [ecal] Add new port (#33296) 2023-09-26 00:24:39 -07:00
ecm.json [kf5] Update to 5.98 (#26831) 2022-11-30 11:03:25 -08:00
ecos.json [ecos] update to 2.0.10 (#34127) 2023-09-28 23:48:50 -07:00
ecsutil.json [Ecsutil] msbuild (#33107) 2023-08-11 09:47:35 -07:00
ed25519.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
edflib.json [edflib] update to 1.25 (#36627) 2024-02-07 12:23:48 -08:00
edlib.json [many ports] call vcpkg_fixup_pkgconfig() (#20953) 2021-10-27 15:19:28 -07:00
effects11.json [directxmesh, directxtex, directxtk, uvatlas, dxut, effects11] June 2023 update (#32033) 2023-06-21 22:39:47 -07:00
effolkronium-random.json [effolkronium-random] update to 1.5.0 (#34128) 2023-09-28 23:41:00 -07:00
efsw.json [efsw] Update to 1.4.0 (#39121) 2024-06-06 00:03:55 -07:00
egl-registry.json [opengl-registry/egl-registry] update (#36856) 2024-02-21 09:32:54 -08:00
egl.json [egl] Revise wrapper and pkgconfig files for windows (#28174) 2022-12-13 16:27:58 -08:00
eigen3.json [Eigen3] Fix target check in cmake config. (#37231) 2024-03-07 22:33:44 -08:00
elements.json [elements] Add new port (#28224) 2022-12-28 13:15:08 -08:00
elfio.json [elfio] update to 3.12 (#34129) 2023-09-28 23:40:24 -07:00
elfutils.json [elfutils] Update to 0.191, cleanup, fix (#39228) 2024-06-12 14:32:20 -07:00
embree2.json [ports] add support expressions (#23034) 2022-02-17 17:23:21 -08:00
embree3.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
enet.json [enet] export .pc file (#32316) 2023-07-05 11:40:31 -07:00
enkits.json [enkiTS] Fixing patch for dynamic linking on windows (#38014) 2024-04-09 12:07:03 -04:00
ensmallen.json [ensmallen] update to 2.19.1 (#34130) 2023-09-28 23:38:44 -07:00
entityx.json Activate Android NDK r26d in vcpkg CI (#35851) 2024-06-11 13:26:30 -07:00
entt.json [entt] update to 3.13.2 (#38154) 2024-04-15 13:10:24 -04:00
epsilon.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
ereignis.json [saucer] update to 2.1.0 (#34732) 2023-11-08 09:36:24 -08:00
esaxx.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
etcd-cpp-apiv3.json [etcd-cpp-apiv3] Update, cleanup (#37908) 2024-04-02 12:33:08 -07:00
etl.json [etl] Fix cmake usage (#36747) 2024-02-14 23:40:51 -08:00
eve.json [eve] update to 2023.2.15 (#30475) 2023-03-28 11:28:44 -07:00
eventpp.json [eventpp] Optimize build (#38516) 2024-05-07 20:48:36 -07:00
evpp.json [glog] update to 0.7.0 (#37071) 2024-03-05 02:23:38 -08:00
exiv2.json [exiv2] fix target in usage description (#35923) 2024-01-02 14:32:38 -08:00
expat.json [expat] Update to 2.6.2 (#37426) 2024-03-14 12:23:02 -07:00
expected-lite.json [expected-lite] update to v0.6.3 (#30347) 2023-03-23 15:57:07 -07:00
exprtk.json [exprtk] Update ExprTk (#22871) 2022-01-31 15:21:16 -08:00
ezc3d.json [ezc3d] update to 1.5.7 (#36333) 2024-01-24 11:16:46 -08:00
ezfoundation.json [ezfoundation] Add new port (#25604) 2022-07-11 15:13:28 -07:00