vcpkg/versions/m-
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
..
maddy.json [maddy] update to 1.3.0 (#34916) 2023-11-05 09:44:17 -08:00
magic-enum.json [magic-enum] update to 0.9.5 (#35162) 2023-11-16 19:44:07 -08:00
magic-get.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
magma.json [magma] add port (#35928) 2024-01-17 15:50:19 -08:00
magnum-extras.json [magnum-*] Remove accidentally generated parameter and optimized portfile.cmake (#27608) 2022-11-04 14:18:54 -07:00
magnum-integration.json [magnum-integration] fix eigen feature (#30974) 2023-04-20 16:01:30 -07:00
magnum-plugins.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
magnum.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
mailio.json [mailio] update to 0.23.0 (#34917) 2023-11-06 10:24:23 -08:00
makeid.json [makeid] update to 1.0.3 (#34271) 2023-10-04 16:53:50 -07:00
manif.json [manif] Add new port (#32621) 2023-07-19 14:23:19 -07:00
mapbox-geojson-cpp.json mapbox-geojson-cpp dependency on mapbox-variant (#21232) 2021-11-08 21:03:25 -08:00
mapbox-geojson-vt-cpp.json [mapbox-geojson-vt-cpp] Update to 6.6.5 (#21384) 2021-11-16 16:47:33 -08:00
mapbox-geometry.json [mapbox-geometry,mapbox-polylabel,geojson-vt-cpp,geojson-cpp] new ports (#16838) 2021-04-01 10:04:08 -07:00
mapbox-polylabel.json [mapbox-polylabel] Update to 1.1.0 (#29179) 2023-01-26 19:14:03 -08:00
mapbox-variant.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mapbox-wagyu.json [mapbox-wagyu] add new port (#18771) 2021-07-06 13:57:41 -07:00
mapnik.json [Boost] Update to 1.85 (#38523) 2024-05-09 20:29:06 -07:00
marble.json [marble] update to 24.02.0 (#37296) 2024-03-11 13:09:10 -07:00
marisa-trie.json [marisa-trie] Don't install Makefile.am into include. Also remove tests. (#28940) 2023-01-16 12:48:48 -08:00
marl.json [marl] Update to latest commit (#32408) 2023-07-06 10:41:03 -07:00
matchit.json [matchit] Add first draft port (#26499) 2022-08-26 12:30:53 -07:00
materialx.json [materialx] update to 1.38.9 (#37297) 2024-03-11 13:09:25 -07:00
mathc.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mathgl.json [blas] Resolve baseline problems (#38467) 2024-05-23 00:21:15 -07:00
matio.json [matio] update to 1.5.26 (#35067) 2023-11-13 10:51:17 -08:00
matplotlib-cpp.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
matplotplusplus.json [matplotplusplus] update to 1.2.1 (#36906) 2024-02-27 00:36:12 -08:00
matroska.json Version database consistency fixes (#33948) 2023-09-25 23:52:51 -07:00
mbedtls.json [mbedtls] update to 2.28.7 (#36431) 2024-01-29 11:44:37 -08:00
mchehab-zbar.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
mcpp.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mdl-sdk.json [vcpkg-cmake] Catch wrong MAYBE_UNUSED_VARIABLES (#38249) 2024-04-30 11:39:01 -07:00
mdns.json [mdns] Update to 1.4.3 (#34364) 2023-10-09 15:32:13 -07:00
mdnsresponder.json [mdnsresponder] msbuild (#33171) 2023-08-15 16:32:15 -07:00
mdspan.json [mdspan] Bump to 0.6.0 (#32889) 2023-08-02 08:55:56 -07:00
mecab.json Activate Android NDK r26d in vcpkg CI (#35851) 2024-06-11 13:26:30 -07:00
memorymodule.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mesa.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
meschach.json [many ports]switch to vcpkg-cmake / vckg-cmake-config part 3 (#29883) 2023-03-07 14:14:52 -08:00
meshoptimizer.json [meshoptimizer] Update to 0.20 (#35953) 2024-01-02 14:34:38 -08:00
metis.json [gklib,metis,parmetis] Update sources for metis et al. to GitHub (#26020) 2022-08-03 18:59:36 -07:00
metrohash.json [many ports]switch to vcpkg-cmake / vckg-cmake-config part 3 (#29883) 2023-03-07 14:14:52 -08:00
mfl.json [mfl] Disable warnings as errors. (#32652) 2023-07-19 19:42:17 -07:00
mfx-dispatch.json [mfx-dispatch] Fix pkgconfig lib syntax (#34196) 2023-10-02 19:55:25 -07:00
mgnlibs.json [many ports] Fix copyright install (#25409) 2022-06-24 12:50:23 -07:00
mhook.json [mhook] only windows (#22559) 2022-01-18 15:47:52 -08:00
michaelmiller-sec21.json [michaelmiller-sec21] Add new library (#37868) 2024-06-12 19:05:22 -07:00
microsoft-signalr.json [cpprestsdk] fix uwp (#33768) 2023-09-18 09:58:32 -07:00
mikktspace.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
milerius-sfml-imgui.json [imgui] Update to 1.89.1 (#27838) 2022-11-28 15:46:08 -08:00
mimalloc.json [mimalloc,vcpkg-ci-mimalloc] Fix exported usage, add test port (#37499) 2024-03-22 16:28:56 -07:00
minc.json [minc] fix feature (#27784) 2022-11-14 14:36:42 -08:00
minhook.json [many ports] Fix URLS of download patch (#33309) 2023-08-23 12:03:24 -07:00
miniaudio.json [miniaudio] update to 0.11.21 (#36387) 2024-01-26 09:41:03 -08:00
minifb.json [minifb] Bump to 2023-09-21 (#35857) 2023-12-27 23:59:16 -08:00
minimp3.json [minimp3] Update to 2021-11-30 (#24610) 2022-05-09 14:50:17 -07:00
minio-cpp.json [minio-cpp] Update to 0.2.0 (#37990) 2024-04-05 14:12:28 -07:00
miniply.json miniply - fix shared folder name (#31055) 2023-04-24 18:27:45 -07:00
minisat-master-keying.json [minisat] Fix missing headers (#31977) 2023-06-13 19:01:06 -07:00
minitrace.json [minitrace] Update minitrace to the latest version (#31069) 2023-04-25 12:52:41 -07:00
miniupnpc.json [miniupnpc] update to 2.2.6 (#37299) 2024-03-11 13:09:38 -07:00
miniz.json [miniz] Update to 3.0.2 (#29102) 2023-01-24 00:45:37 -08:00
minizip-ng.json [minizip-ng] update to 4.0.5 (#37300) 2024-03-11 13:09:51 -07:00
minizip.json [minizip] regenerate version info (#36559) 2024-02-05 11:30:05 -08:00
mio.json [mio] Update to 2023-03-03 (#30539) 2023-03-30 11:59:41 -07:00
mlpack.json [mlpack] update to 4.3.0 (#35675) 2023-12-14 22:59:35 -08:00
mman.json [mman] only windows (#22453) 2022-01-10 13:07:18 -08:00
mmloader.json [mmloader] Fix feature shellcode Build failure (#33373) 2023-08-29 16:21:36 -07:00
mmx.json [mmx] update (#30089) 2023-03-09 12:20:44 -08:00
mnn.json [vcpkg scripts] Fix check the different features have the same feature variable in function vcpkg_check_features (#31984) 2023-07-21 09:04:10 -07:00
modern-cpp-kafka.json [modern-cpp-kafka] New port (#32903) 2023-08-03 10:23:07 -07:00
modp-base64.json [modp-base64] Add missing header files (#29062) 2023-01-20 22:13:43 -08:00
mongo-c-driver.json [mongo-c-driver] Update to 1.27.2 (#39138) 2024-06-05 23:49:02 -07:00
mongo-cxx-driver.json [mongo-cxx-driver] update to 3.10.1 (#37025) 2024-03-15 18:14:21 -07:00
mongoose.json [mongoose] update to 7.14 (#38830) 2024-05-21 14:58:15 -07:00
monkeys-audio.json [monkeys-audio] msbuild (#33169) 2023-08-15 16:35:30 -07:00
moos-core.json [moos-core] no uwp (#35255) 2023-11-22 13:37:43 -08:00
moos-essential.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
moos-ui.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
morton-nd.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mosquitto.json [mosquitto] Update to 2.0.18 (#34456) 2023-10-18 10:26:15 -07:00
mozjpeg.json [mozjpeg] update to 4.1.5 (#34978) 2023-11-09 10:33:33 -08:00
mp3lame.json [mp3lame] Fix MinGW-w64 compatibility (#38995) 2024-05-30 10:41:43 -07:00
mp-units.json [mp-units] update to v2.1.1 (#38791) 2024-05-17 14:09:10 -07:00
mpark-patterns.json [mpark-patterns] add new port (#34679) 2023-10-26 20:58:24 -07:00
mpark-variant.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mpc.json [mpc] update to 1.3.1 (#34162) 2023-10-02 20:07:32 -07:00
mpfr.json [mpfr] update to 4.2.1 (#34177) 2023-10-02 17:39:04 -07:00
mpg123.json [mpg123] Support system dependency CFLAGS better (#36100) 2024-01-11 15:46:53 -08:00
mpi.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mpir.json [mpir] Build include files even when building static (#33547) 2023-09-06 13:05:14 -07:00
mpmcqueue.json Update portfile.cmake (#24578) 2022-05-13 16:51:33 -07:00
mqtt-cpp.json mqtt-cpp: Update to 13.2.1 (#34817) 2023-10-31 11:56:37 -07:00
ms-angle.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
ms-gdkx.json UWP toolchain fix and update some supports expressions for uwp/xbox (#30096) 2023-03-20 12:02:25 -07:00
ms-gltf.json [ms-gltf] Disable feature samples on macOS, iOS, and Android (#30943) 2023-04-18 16:57:03 -07:00
ms-gsl.json [ms-gsl] add license (#35086) 2023-12-07 12:22:39 -08:00
ms-ifc-sdk.json Add port ms-ifc-sdk (#35972) 2024-01-03 18:04:42 -08:00
ms-quic.json [ms-quic] create a new port (#18225) 2021-07-25 12:48:56 -07:00
msdfgen.json [msdfgen] Update to 1.11 (#35043) 2023-11-14 12:46:04 -08:00
msgpack11.json [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4 (#29884) 2023-03-01 10:39:14 -08:00
msgpack-c.json [msgpack-c] Added msgpack-c version 6.0.0 (#30389) 2023-03-24 22:49:53 -07:00
msgpack.json [msgpack] Update to 6.1.1 (#38717) 2024-05-22 23:49:55 -07:00
msinttypes.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
msix.json [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4 (#29884) 2023-03-01 10:39:14 -08:00
msmpi.json [mpi/msmpi] Add cmake wrapper to fix bug getting MPI_${LANG}_ADDITIONAL_INCLUDE_DIRS when calling FindMPI.cmake on Windows (#24746) 2022-05-26 13:05:01 -07:00
mstch.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
mtlt.json [mtlt] Add new port (#36105) 2024-01-19 12:00:27 -08:00
mujoco.json [mujoco] use correct https:// schema for hompage url (#32509) 2023-07-11 17:35:49 -07:00
mujs.json [mujs] update to 1.3.4 (#37306) 2024-03-11 13:10:07 -07:00
munit.json [many ports] remove remaining vcpkg_fail_port_install calls. (#22770) 2022-01-25 10:31:15 -08:00
muparser.json [muparser] update to 2.3.4 (#27934) 2022-11-21 08:35:50 -08:00
murmur3.json [murmur3] New port (#34335) 2023-10-12 20:55:10 -07:00
murmurhash.json [murmurhash] Add support for arm (#34059) 2023-10-02 21:10:39 -07:00
mvfst.json [folly related] update to 06.10 (#39213) 2024-06-12 16:17:23 -07:00
mygui.json [mygui] Fix LNK2005 duplicate function definition (#38386) 2024-04-25 09:20:33 -04:00
mysql-connector-cpp.json [mysql-connector-cpp] Fix incorrect usage of MAYBE_UNUSED_VARIABLES (#32406) 2023-07-07 09:18:28 -07:00