vcpkg/versions/g-
Frederik Carlier ba58a3fdf2
[glib] Support cross-compiling Objective C code using Meson (#33313)
* Support cross-compiling Objective C code using Meson

The glib port uses Objective C code and the Meson build system.
You'll end up cross compiling glib when compiling for x64 osx
on an arm64 osx machine, or vice versa.

For this to work, an Objective C compiler needs to be set
in the Meson cross file.

vcpkg generates this file based on the
`scripts/buildsystems/meson/meson.template.in` template, and expects
the `MESON_OBJC` CMake variable to be set.

That's the job of `z_vcpkg_meson_set_proglist_variables` in
`scripts/cmake/vcpkg_configure_meson.cmake`.  It will only generate data
for an Objective C compiler if:

- The `Languages` argument includes `OBJC`
- CMake has detected a Objective C compiler, and has set `VCPKG_DETECTED_CMAKE_OBJC_COMPILER`

To make this work, this patch:
- Enables the OBJC and OBJCXX language on Apple platforms
- Updates the call to `vcpkg_configure_meson` in the glib port file
  to include the OBJC OBJCXX languages.

Fixes https://github.com/microsoft/vcpkg/issues/26147
Fixes https://github.com/microsoft/vcpkg/issues/20341
Based on https://github.com/microsoft/vcpkg/pull/26259
Based on 27dee354e4

Tested on an arm64 mac to compile glib for x64 macos

* Update version database
2023-08-25 12:25:28 -07:00
..
g2o.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
g3log.json [g3log] fix hash (#30518) 2023-03-30 12:01:10 -07: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
gasol.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
gaussianlib.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -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 version 1.16.0 (#28218) 2022-12-07 10:28:33 -08:00
gdal.json [vcpkg baseline][gdal] Fix quote variable error (#33332) 2023-08-23 21:36:28 -07:00
gdcm2.json Bulk convert control files. (#19986) 2021-09-09 01:24:04 -07:00
gdcm.json [gdcm] Update to 3.0.22 (#31499) 2023-05-18 11:18:03 -07:00
gdk-pixbuf.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -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 [geogram] Enable MacOs+Arm64 build (#32366) 2023-07-05 11:32:59 -07:00
geographiclib.json [Geographiclib] update version to 2.3 (#32752) 2023-07-25 20:07:46 -07:00
geos.json [geos] Update to v3.11.2 (#31233) 2023-05-04 10:25:51 -07: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] Disable building docs (#24088) 2022-04-12 10:36:15 -07:00
getopt-win32.json [vcpkg baseline][ideviceinstaller] Fixing error LNK2005 when argtable2 installed before ideviceinstaller (#28459) 2022-12-28 13:07:26 -08:00
getopt.json [many-ports] Don't use deprecated functions (autogenerated) (#26981) 2023-04-13 09:13:15 -07:00
gettext-libintl.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
gettext.json [gettext] Handle runtime for unix tools (#33030) 2023-08-23 11:46:39 -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 [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07: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] Fix multi-config find_package(GIF) (#27369) 2022-10-27 19:15:17 -07:00
ginkgo.json [many ports] Fix URLS of download patch (#33309) 2023-08-23 12:03:24 -07:00
gklib.json [gklib] Fix mingw build (#26468) 2022-08-23 10:37:35 -07:00
gl2ps.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
gl3w.json [gl3w] Use khrplatform.h from the egl-registry port (#22056) 2021-12-16 22:57:45 -08:00
glad.json [glad] update to v0.1.36 (#26227) 2022-08-08 11:54:00 -07:00
glaze.json [Glaze] Update V1.3.5 (#33192) 2023-08-16 12:26:23 -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] Add wayland feature (#28232) 2023-01-11 23:29:41 -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.json [glib] Support cross-compiling Objective C code using Meson (#33313) 2023-08-25 12:25:28 -07:00
glibmm.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
glm.json [glm] Bump to 2023-06-08 & fix usage (#32685) 2023-08-23 22:04:38 -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 CUDA not working with NVCC compiler. (#28097) 2022-12-02 09:14:32 -08:00
gloo.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07:00
glpk.json Update xbox supports expressions for failing ports with copyleft licenses (#31770) 2023-06-15 14:49:00 -07:00
glslang.json Add support for rtti in glslang port (#32541) 2023-08-07 09:59:24 -07:00
glui.json [many ports]switch to vcpkg-cmake / vcpkg-cmake-config part 2 (#29882) 2023-04-21 14:48:12 -07: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] no absolute paths (#22716) 2022-01-25 22:31:46 -08:00
gmp.json [gmp] Avoid libm for x86 msvc host (#32984) 2023-08-07 09:10:14 -07:00
gmsh.json [gmsh] update to 4.11.1 (#33181) 2023-08-16 12:55:38 -07:00
gobject-introspection.json [libffi] Use upstream's build system (#33203) 2023-08-24 12:51:20 -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] fix opentelemetry feature (#32936) 2023-08-04 06:58:38 -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 [libgpg-error,libgcrpyt,libassuan,gpgme] Update, official mirrors, mingw, cross builds (#27668) 2022-11-14 15:12:05 -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 [vcpkg baseline][graphicsmagick] update to 1.3.41 (#33307) 2023-08-23 11:44:53 -07:00
graphite2.json [graphite2] no absolute paths (#21268) 2021-11-11 13:38:04 -08:00
graphqlparser.json [graphqlparser] no absolute paths (#21718) 2021-11-29 17:00:29 -08:00
graphviz.json [vcpkg baseline][graphviz/think-cell-range/geotrans] Fix download error (#31772) 2023-07-10 15:20:45 -07:00
greatest.json [greatest] Update to 1.5.0 (#20643) 2021-10-11 20:24:18 -07:00
grpc.json grpc: Update to 1.51.1 (#28964) 2023-01-16 12:53:23 -08: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] fix gsl x64-linux-dynamic build by guarding win32 string replaces (#31504) 2023-05-22 14:56:05 -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] simplyfy (#32323) 2023-07-14 16:39:00 -07:00
gtest.json [gtest] Update version to 1.13.0 (#29772) 2023-02-23 11:14:11 -08:00
gtk3.json [gtk3] Bump version to 3.24.38 (#31910) 2023-06-10 01:49:42 -07:00
gtk.json [gtk/gtk3] Fix install gschemas.compiled of glib-2.0 (#33253) 2023-08-22 13:04:41 -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 build with clang-cl (#26184) 2022-08-06 00:16:14 -07:00
gtsam.json [gtsam] New Port (#30560) 2023-04-06 17:24:49 -07:00
guetzli.json [guetzli] fix mac build (#22588) 2022-01-18 13:07:13 -08:00
guile.json [guile] no absolute paths (#27033) 2022-09-30 14:42:18 -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.9.2 (#32124) 2023-06-21 17:37:21 -07:00
gumbo.json [gumbo, litehtml] fix dupplicate gumbo symbols (#29804) 2023-02-23 11:25:44 -08:00
gz-cmake3.json Add gz ports: [gz-cmake3] [gz-utils2] [gz-tools2] [gz-math7] (#28656) 2023-05-01 11:55:39 -07:00
gz-math7.json [gz-math7] Control options (#31277) 2023-05-08 18:13:00 -07:00
gz-tools2.json [gz-tools2] fix build (#31214) 2023-05-04 10:21:32 -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