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