diff options
author | Mathieu Duponchelle <mduponchelle1@gmail.com> | 2020-09-05 23:01:34 +0000 |
---|---|---|
committer | Mathieu Duponchelle <mduponchelle1@gmail.com> | 2020-09-05 23:01:34 +0000 |
commit | 25dcd89afabd57f199e33cb253aa7fd7fb91ec01 (patch) | |
tree | 706b67598366d110639ff3d4796aad8fb7ee7e36 /MSVC.README.rst | |
parent | bc53f2d0d33846ae3108486cfbc40d6e5ff43e22 (diff) | |
parent | ef428e88dc04bfedb40f0ccd61b01da7ca139aa2 (diff) | |
download | gobject-introspection-25dcd89afabd57f199e33cb253aa7fd7fb91ec01.tar.gz |
Merge branch 'clang-cl' into 'master'
giscanner: Add support for using clang-cl
See merge request GNOME/gobject-introspection!234
Diffstat (limited to 'MSVC.README.rst')
-rw-r--r-- | MSVC.README.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MSVC.README.rst b/MSVC.README.rst index d8941de4..ec5ddb56 100644 --- a/MSVC.README.rst +++ b/MSVC.README.rst @@ -109,3 +109,12 @@ the following so that we ensure the manifests are embedded to the built DLLs and for /r %f in (*.dll.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f /outputresource:$(PREFIX)\bin\%~nf;2 for /r %f in (*.exe.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f /outputresource:$(PREFIX)\bin\%~nf;1 + +Additional notes on using clang-cl (LLVM/CLang's Visual Studio compiler emulation) +---------------------------------------------------------------------------------- +Support has been added to build GObject-Introspection with clang-cl, specifically for +running g-ir-scanner with clang-cl and lld-link as the compiler and linker. To enable +such support, you need to set *both* the environment variables CC and CXX to clang-cl +prior to building GObject-Introspection or running g-ir-scanner. This is in line with +building with clang-cl in place of using the stock Visual Studio compiler to perform +builds with the Meson build system. |