forked from manosmaroulis/openvslam-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
84 lines (84 loc) · 2.42 KB
/
CMakePresets.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "msvc-x64-static-debug",
"displayName": "MSVC Win64",
"description": "Default build using Visual Studio generator",
"generator": "Visual Studio 16 2019",
"binaryDir": "${sourceDir}/build/msvc-x64-static-debug",
"cacheVariables": {
"BUILD_EXAMPLES": {
"type": "BOOL",
"value": "OFF"
},
"USE_PANGOLIN_VIEWER": {
"type": "BOOL",
"value": "OFF"
},
"CMAKE_CXX_FLAGS": {
"type": "STRING",
"value": "/DNOMINMAX=1 /bigobj /W4 /MTd /source-charset:utf-8 /execution-charset:utf-8 /wd4251 /wd4244 /wd4305 /wd4267 /wd4127 /Zo /EHsc"
},
"BUILD_SHARED_LIBS": {
"type": "BOOL",
"value": "OFF"
},
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-static"
},
"CMAKE_INSTALL_PREFIX": {
"type": "PATH",
"value": "${sourceDir}/install/debug"
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/3rd/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
}
},
{
"name": "msvc-x64-static-release",
"displayName": "MSVC Win64",
"description": "Default build using Visual Studio generator",
"generator": "Visual Studio 16 2019",
"binaryDir": "${sourceDir}/build/msvc-x64-static-release",
"cacheVariables": {
"BUILD_EXAMPLES": {
"type": "BOOL",
"value": "OFF"
},
"USE_PANGOLIN_VIEWER": {
"type": "BOOL",
"value": "OFF"
},
"CMAKE_CXX_FLAGS": {
"type": "STRING",
"value": "/DNOMINMAX=1 /bigobj /W4 /MT /source-charset:utf-8 /execution-charset:utf-8 /wd4251 /wd4244 /wd4305 /wd4267 /wd4127 /O2 /EHsc"
},
"BUILD_SHARED_LIBS": {
"type": "BOOL",
"value": "OFF"
},
"VCPKG_TARGET_TRIPLET": {
"type": "STRING",
"value": "x64-windows-static"
},
"CMAKE_INSTALL_PREFIX": {
"type": "PATH",
"value": "${sourceDir}/install/release"
},
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/3rd/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
}
}
]
}