vcpkg/versions/g-
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
..
g2o.json [baseline] Fix g2o blas detection (#38135) 2024-04-11 13:20:48 -07:00
g3log.json [g3log] update to 2.4 (#37049) 2024-02-29 23:06:17 -08:00
gainput.json [toolchain windows] set CMAKE_SYSTEM_PROCESSOR (#24100) 2022-04-29 11:40:30 -07:00
gamedev-framework.json [gamedev-framework] Update to v1.2.0 (#32702) 2023-07-24 11:30:27 -07:00
gamenetworkingsockets.json [gamenetworkingsockets] Add find_dependency(protobuf CONFIG REQUIRED) (#28615) 2022-12-29 23:54:23 -08:00
games101-cgl.json [games101-cgl] new port (#31831) 2023-06-14 12:35:23 -07:00
gamma.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
gapp.json [gapp] New port (#35330) 2023-11-27 23:11:18 -08:00
gasol.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
gaussianlib.json [gaussianlib] update to 2023-02-17 (#34154) 2023-10-02 19:51:53 -07:00
gazebo.json [many ports] Fix URLS of download patch (#33309) 2023-08-23 12:03:24 -07:00
gcem.json [gcem] update to 1.17.0 (#34155) 2023-10-02 19:51:40 -07:00
gdal.json [gdal] Update to 3.9.0 (#38333) 2024-05-14 15:31:04 -07:00
gdcm2.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
gdcm.json [gdcm] Update version to 3.0.23 (#38091) 2024-04-15 13:10:43 -04:00
gdk-pixbuf.json [gdk-pixbuf] Update to 2.42.12 (#38789) 2024-05-17 11:57:48 -07:00
gemmlowp.json [gemmlowp] create a new port (#20403) 2021-09-29 08:55:10 -07:00
genann.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
geogram.json Update macOS machines for May 2024 (#38834) 2024-06-04 13:35:41 -07:00
geographiclib.json [geographiclib] Remove unnecessary and broken cross-compile check. (#35030) 2023-11-16 12:57:06 -08:00
geos.json [geos,libspatialite] Fix various quirks (#35574) 2023-12-12 01:42:45 -08:00
geotrans.json [vcpkg baseline][graphviz/think-cell-range/geotrans] Fix download error (#31772) 2023-07-10 15:20:45 -07:00
getdns.json [getdns] update to 1.7.3 (#34188) 2023-12-14 00:13:36 -08:00
getopt-win32.json [getopt-win32] Bump to 1.1.0.20220925 (#33893) 2023-09-28 23:37:56 -07:00
getopt.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
gettext-libintl.json [gettext-libintl] Link CoreFoundation on apple (#38859) 2024-05-24 19:35:34 -07:00
gettext.json [gettext*] Update 0.22.5, fix Intl wrapper (#37356) 2024-03-11 20:32:06 -07:00
gettimeofday.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
gflags.json [gflags] Fix release-only build (#35373) 2023-11-28 21:41:58 -08:00
ghc-filesystem.json [ghc-filesystem] update to 1.5.14 (#32462) 2023-07-10 09:53:57 -07:00
gherkin-c.json [gherkin-c] Fix UNIX build, fix install path (#22578) 2022-01-18 13:26:14 -08:00
giflib.json [giflib] Update to 5.2.2 (#36975) 2024-02-28 17:08:22 -08:00
ginkgo.json [ginkgo] Update version to 1.7.0 (#35028) 2023-11-14 13:04:50 -08:00
gklib.json [gklib] Update, fix android (#37877) 2024-04-01 15:28:40 -07:00
gl2ps.json [freeglut,gl2ps,glui,mdl-sdk] Platform support corrections (#35391) 2023-12-01 02:13:18 -08:00
gl3w.json [gl3w] Support to include GL extensions in header file (#38605) 2024-05-09 13:05:16 -07:00
glad.json [glad] update to v0.1.36 (#26227) 2022-08-08 11:54:00 -07:00
glaze.json [Glaze] Update to v2.6.9 (#39120) 2024-06-06 00:05:32 -07:00
glbinding.json [glbinding] Fix CMake warnings (#27481) 2022-10-27 19:28:07 -07:00
glew.json [glew] Only set the base address on x86 (32bit) (#31084) 2023-05-01 11:46:50 -07:00
glfw3.json [glfw3] update to 3.4 (#36908) 2024-02-27 00:34:58 -08:00
gli.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
glib-networking.json [gstreamer,libsoup,libpsl,glib-networking] enable soup plugins of gstreamer (#36679) 2024-02-28 18:02:23 -08:00
glib.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
glibmm.json [glibmm] Update to 2.78.1 (#36682) 2024-02-12 14:22:46 -08:00
glm.json [glm] Fix c++ language auto detection (#37823) 2024-03-29 17:24:12 -07:00
globjects.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
glog.json [glog] Fix usage about find unwind (#37550) 2024-03-22 16:31:14 -07:00
gloo.json [gloo] Add array header file (#36988) 2024-02-28 16:49:03 -08:00
glpk.json [glpk] Fix feature build error (#33933) 2024-02-07 22:30:51 -08:00
glslang.json [glslang] update to 14.2.0 (#38638) 2024-05-09 12:59:48 -07:00
glui.json [freeglut,gl2ps,glui,mdl-sdk] Platform support corrections (#35391) 2023-12-01 02:13:18 -08:00
gmime.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
gmmlib.json [gmmlib] update to 22.3.17 (#36370) 2024-01-26 09:31:36 -08:00
gmp.json [gmp] Update to 6.3.0 (#37052) 2024-03-01 14:35:31 -08:00
gmsh.json [gmsh] Update to 4.12.2 (#36987) 2024-02-28 16:53:08 -08:00
gobject-introspection.json [vcpkg-tool-meson] Update meson to 1.3.2 (#28084) 2024-03-11 14:09:15 -07:00
godot-cpp.json [godot-cpp] Create a new port (#37931) 2024-06-07 21:06:42 -07:00
google-cloud-cpp-common.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
google-cloud-cpp-spanner.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
google-cloud-cpp.json [google-cloud-cpp] update to the latest release (v2.25.0) (#39150) 2024-06-07 02:48:50 -07:00
googleapis.json [multiple-ports] Fix missing usage (#29345) 2023-02-09 10:59:04 -08:00
gperf.json [gperf] Fix error in cpp17 mode (#32980) 2023-08-07 09:11:58 -07:00
gperftools.json [gperftools] use supports expression (#33319) 2023-08-23 11:56:38 -07:00
gpgme.json [gpgme] update to 1.23.2 (#37074) 2024-03-05 02:12:51 -08:00
gpgmm.json [gpgmm] Add gpgmm. Highly experimental. (#26045) 2022-08-02 23:01:19 -07:00
gppanel.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
grantlee.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
graphene.json [many ports] Fix a warning ADDITIONAL_(NATIVE|CROSS)_BINARIES have been deprecated (#28372) 2023-04-17 15:29:55 -07:00
graphicsmagick.json [many ports] Don't depend on default features of tiff (#38049) 2024-05-01 19:40:19 -07:00
graphite2.json [graphite2] Burn-in library linkage (#35528) 2023-12-06 14:04:33 -08:00
graphqlparser.json [graphqlparser] no absolute paths (#21718) 2021-11-29 17:00:29 -08:00
graphviz.json [vcpkg baseline][graphviz,paraview] Fix installation order issues (#37405) 2024-03-13 15:41:56 -07:00
greatest.json [greatest] Update to 1.5.0 (#20643) 2021-10-11 20:24:18 -07:00
grpc.json [multiple ports] Keep description consistent with upstream (#37998) 2024-04-09 12:10:21 -04:00
grppi.json [vcpkg baseline][grppi] Manually control use of tbb (#26966) 2022-09-25 23:57:23 -07:00
gsl-lite.json [gsl-lite] Update to v0.41.0 (#30784) 2023-04-11 23:10:36 -07:00
gsl.json [gsl] update to 2.8 (#38944) 2024-05-27 15:26:45 -07:00
gsoap.json [gsoap] msbuild (#33149) 2023-08-16 13:02:22 -07:00
gst-rtsp-server.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
gstreamer.json [gstreamer,libsoup,libpsl,glib-networking] enable soup plugins of gstreamer (#36679) 2024-02-28 18:02:23 -08:00
gtest.json [multiple ports] Keep description consistent with upstream (#37998) 2024-04-09 12:10:21 -04:00
gtk3.json [atk/gdk-pixbuf/gtk/gtk3/harfbuzz/pango] Fix dependency gobject-instrospection of feature instrospection (#33792) 2023-09-18 09:52:14 -07:00
gtk.json [gtk] Only dynamic library (#38623) 2024-05-10 13:15:14 -07:00
gtkmm.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
gtl.json [gtl] Update version to 1.1.8 (#31076) 2023-04-25 22:42:26 -07:00
gts.json [gts] fix for correctly excluding predicates_init.c file in build (#36790) 2024-02-21 22:24:37 -08:00
gtsam.json [vcpkg-scripts] Catch use of ambiguous cmake vars (#34546) 2024-06-14 11:40:01 -07:00
guetzli.json [guetzli] fix mac build (#22588) 2022-01-18 13:07:13 -08:00
guile.json [guile] update to 3.0.9 (#37093) 2024-03-11 20:14:50 -07:00
guilite.json [live555/guilite/polymorphic-value] Update version (#24555) 2022-05-06 16:54:57 -07:00
gul14.json [gul14] Update to version 2.11.2 (#38587) 2024-05-06 12:40:40 -07:00
gumbo.json [gumbo, litehtml] fix dupplicate gumbo symbols (#29804) 2023-02-23 11:25:44 -08:00
gz-cmake3.json upgrade ogre-next 2.3.3 and fix osx (#34945) 2023-12-05 12:23:44 -08:00
gz-common5.json [gz-cmake3] Fix export of static deps (#34667) 2023-10-27 19:22:45 -07:00
gz-fuel-tools8.json Add more gz ports (#33389) 2023-09-20 10:08:06 -07:00
gz-gui7.json Add port gui7 (#34830) 2023-11-09 11:28:51 -08:00
gz-math7.json update to gz-math7 7.3.0 (#34627) 2023-10-20 09:36:23 -07:00
gz-msgs9.json Add more gz ports (#33389) 2023-09-20 10:08:06 -07:00
gz-physics6.json Add port gui7 (#34830) 2023-11-09 11:28:51 -08:00
gz-plugin2.json Add more gz ports (#33389) 2023-09-20 10:08:06 -07:00
gz-rendering7.json upgrade ogre-next 2.3.3 and fix osx (#34945) 2023-12-05 12:23:44 -08:00
gz-sensors7.json gz-sensors7 (#34831) 2023-11-02 13:50:40 -07:00
gz-tools2.json [gz-tools2] fix build (#31214) 2023-05-04 10:21:32 -07:00
gz-transport12.json Add more gz ports (#33389) 2023-09-20 10:08:06 -07:00
gz-utils2.json Add gz ports: [gz-cmake3] [gz-utils2] [gz-tools2] [gz-math7] (#28656) 2023-05-01 11:55:39 -07:00
gzip-hpp.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00