forked from justadudewhohacks/npm-opencv-build
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconstants.ts
31 lines (26 loc) · 868 Bytes
/
constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import type { OpenCVBuilder } from "./OpenCVBuilder.ts";
export class Constant {
constructor(private readonly builder: OpenCVBuilder) {
}
opencvRepoUrl = "https://github.com/opencv/opencv.git";
// opencvRepoUrl = 'c:/cache/opencv'
opencvContribRepoUrl = "https://github.com/opencv/opencv_contrib.git";
// opencvContribRepoUrl = 'c:/cache/opencv_contrib'
// opencvModules = opencvModules;
cmakeVsCompilers: { [version: string]: string } = {
"10": "Visual Studio 10 2010",
"11": "Visual Studio 11 2012",
"12": "Visual Studio 12 2013",
"14": "Visual Studio 14 2015",
"15": "Visual Studio 15 2017",
"16": "Visual Studio 16 2019",
"17": "Visual Studio 17 2022",
};
cmakeArchs: { [arch: string]: string } = {
"x64": " Win64",
"ia32": "",
"arm": " ARM",
"x86_64": " Win64",
"aarch64": " ARM",
};
}