···
+
synopsis: "Microsoft C Compiler Environment Settings (64-bit x86_64)"
+
This package uses msvs-tools to find additional values required for the
+
environment in order to use the x86_64 (64-bit) Microsoft C compiler (cl).
+
After installation, the package's variables indicate the required values:
+
- conf-msvc64:msvs-bin, conf-msvc64:msvs-inc and conf-msvc64:msvc-lib are values
+
to be added to PATH, INCLUDE and LIB respectively. In opam 2.2, they should be
+
added using x-env-path-rewrite set to false, as they contain multiple
+
- conf-msvc64:package is the name of the Visual Studio package providing the
+
compiler (e.g. Visual Studio Community 2022)
+
- conf-msvc64:ml is the name of the assembler (usually "ml64")
+
- conf-msvc64:script is the vcvarsall or setenv script which was queried by
+
msvs-detect to provide this information
+
maintainer: "David Allsopp <david.allsopp@metastack.com>"
+
authors: "David Allsopp"
+
license: "BSD-3-clause"
+
homepage: "https://github.com/metastack/msvs-tools#readme"
+
bug-reports: "https://github.com/metastack/msvs-tools/issues"
+
depends: ["msvs-detect"]
+
available: os = "win32"
+
build: ["bash" "%{msvs-detect:share}%\\msvs-opam" "x86_64" name "%{msvs-detect:share}%\\msvs-detect"]
+
A suitable Visual Studio installation could not be found for x86_64.
+
Visual Studio can be obtained from https://visualstudio.microsoft.com"""
+
The Microsoft C compiler has been located in the environment which suggests opam
+
is running either from a Tools Command Prompt or from another wrapper which is
+
updating the environment variables.
+
opam has not altered these environment settings, but you will need to ensure
+
that future invocations of opam are done from the same environment, or the
+
compiler will be unavailable."""
+
{success & _:msvs-bin = ""}