Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
114 lines (104 loc) · 7.07 KB
/
Copy pathCMakePresets.json
File metadata and controls
114 lines (104 loc) · 7.07 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base-platform",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{CONDA_PREFIX}",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/python/robosample",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"Python3_ROOT_DIR": "$env{CONDA_PREFIX}"
}
},
{
"name": "cpu",
"hidden": true,
"inherits": "base-platform",
"cacheVariables": {
"USE_CPU": "ON"
}
},
{
"name": "reference",
"hidden": true,
"inherits": "base-platform",
"cacheVariables": {
"USE_REFERENCE": "ON"
}
},
{
"name": "opencl",
"hidden": true,
"inherits": "base-platform",
"cacheVariables": {
"USE_OPENCL": "ON"
}
},
{
"name": "cuda",
"hidden": true,
"inherits": "base-platform",
"cacheVariables": {
"USE_CUDA": "ON",
"CMAKE_CUDA_ARCHITECTURES": "native",
"CUDAToolkit_ROOT": "$env{CONDA_PREFIX}",
"CMAKE_CUDA_COMPILER": "$env{CONDA_PREFIX}/bin/nvcc"
}
},
{ "name": "debug-base", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } },
{ "name": "release-base", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } },
{ "name": "relwithdebinfo-base", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } },
{ "name": "pgo-train-base", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "PGO_Train" } },
{ "name": "pgo-use-base", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "PGO_Use" } },
{ "name": "cpu-debug", "displayName": "CPU: Debug", "inherits": ["cpu", "debug-base"] },
{ "name": "cpu-release", "displayName": "CPU: Release", "inherits": ["cpu", "release-base"] },
{ "name": "cpu-relwithdebinfo", "displayName": "CPU: RelWithDebInfo", "inherits": ["cpu", "relwithdebinfo-base"] },
{ "name": "cpu-pgo-train", "displayName": "CPU: PGO Train", "inherits": ["cpu", "pgo-train-base"] },
{ "name": "cpu-pgo-use", "displayName": "CPU: PGO Use", "inherits": ["cpu", "pgo-use-base"] },
{ "name": "reference-debug", "displayName": "Reference: Debug", "inherits": ["reference", "debug-base"] },
{ "name": "reference-release", "displayName": "Reference: Release", "inherits": ["reference", "release-base"] },
{ "name": "reference-relwithdebinfo", "displayName": "Reference: RelWithDebInfo", "inherits": ["reference", "relwithdebinfo-base"] },
{ "name": "reference-pgo-train", "displayName": "Reference: PGO Train", "inherits": ["reference", "pgo-train-base"] },
{ "name": "reference-pgo-use", "displayName": "Reference: PGO Use", "inherits": ["reference", "pgo-use-base"] },
{ "name": "opencl-debug", "displayName": "OpenCL: Debug", "inherits": ["opencl", "debug-base"] },
{ "name": "opencl-release", "displayName": "OpenCL: Release", "inherits": ["opencl", "release-base"] },
{ "name": "opencl-relwithdebinfo", "displayName": "OpenCL: RelWithDebInfo", "inherits": ["opencl", "relwithdebinfo-base"] },
{ "name": "opencl-pgo-train", "displayName": "OpenCL: PGO Train", "inherits": ["opencl", "pgo-train-base"] },
{ "name": "opencl-pgo-use", "displayName": "OpenCL: PGO Use", "inherits": ["opencl", "pgo-use-base"] },
{ "name": "cuda-debug", "displayName": "CUDA: Debug", "inherits": ["cuda", "debug-base"] },
{ "name": "cuda-release", "displayName": "CUDA: Release", "inherits": ["cuda", "release-base"] },
{ "name": "cuda-relwithdebinfo", "displayName": "CUDA: RelWithDebInfo", "inherits": ["cuda", "relwithdebinfo-base"] },
{ "name": "cuda-pgo-train", "displayName": "CUDA: PGO Train", "inherits": ["cuda", "pgo-train-base"] },
{ "name": "cuda-pgo-use", "displayName": "CUDA: PGO Use", "inherits": ["cuda", "pgo-use-base"] }
],
"buildPresets": [
{ "name": "cpu-debug", "configurePreset": "cpu-debug", "displayName": "Build & Install: CPU Debug", "targets": ["install"], "jobs": 0 },
{ "name": "cpu-release", "configurePreset": "cpu-release", "displayName": "Build & Install: CPU Release", "targets": ["install"], "jobs": 0 },
{ "name": "cpu-relwithdebinfo", "configurePreset": "cpu-relwithdebinfo", "displayName": "Build & Install: CPU RelWithDebInfo", "targets": ["install"], "jobs": 0 },
{ "name": "cpu-pgo-train", "configurePreset": "cpu-pgo-train", "displayName": "Build & Install: CPU PGO Train", "targets": ["install"], "jobs": 0 },
{ "name": "cpu-pgo-use", "configurePreset": "cpu-pgo-use", "displayName": "Build & Install: CPU PGO Use", "targets": ["install"], "jobs": 0 },
{ "name": "reference-debug", "configurePreset": "reference-debug", "displayName": "Build & Install: Reference Debug", "targets": ["install"], "jobs": 0 },
{ "name": "reference-release", "configurePreset": "reference-release", "displayName": "Build & Install: Reference Release", "targets": ["install"], "jobs": 0 },
{ "name": "reference-relwithdebinfo", "configurePreset": "reference-relwithdebinfo", "displayName": "Build & Install: Reference RelWithDebInfo", "targets": ["install"], "jobs": 0 },
{ "name": "reference-pgo-train", "configurePreset": "reference-pgo-train", "displayName": "Build & Install: Reference PGO Train", "targets": ["install"], "jobs": 0 },
{ "name": "reference-pgo-use", "configurePreset": "reference-pgo-use", "displayName": "Build & Install: Reference PGO Use", "targets": ["install"], "jobs": 0 },
{ "name": "opencl-debug", "configurePreset": "opencl-debug", "displayName": "Build & Install: OpenCL Debug", "targets": ["install"], "jobs": 0 },
{ "name": "opencl-release", "configurePreset": "opencl-release", "displayName": "Build & Install: OpenCL Release", "targets": ["install"], "jobs": 0 },
{ "name": "opencl-relwithdebinfo", "configurePreset": "opencl-relwithdebinfo", "displayName": "Build & Install: OpenCL RelWithDebInfo", "targets": ["install"], "jobs": 0 },
{ "name": "opencl-pgo-train", "configurePreset": "opencl-pgo-train", "displayName": "Build & Install: OpenCL PGO Train", "targets": ["install"], "jobs": 0 },
{ "name": "opencl-pgo-use", "configurePreset": "opencl-pgo-use", "displayName": "Build & Install: OpenCL PGO Use", "targets": ["install"], "jobs": 0 },
{ "name": "cuda-debug", "configurePreset": "cuda-debug", "displayName": "Build & Install: CUDA Debug", "targets": ["install"], "jobs": 0 },
{ "name": "cuda-release", "configurePreset": "cuda-release", "displayName": "Build & Install: CUDA Release", "targets": ["install"], "jobs": 0 },
{ "name": "cuda-relwithdebinfo", "configurePreset": "cuda-relwithdebinfo", "displayName": "Build & Install: CUDA RelWithDebInfo", "targets": ["install"], "jobs": 0 },
{ "name": "cuda-pgo-train", "configurePreset": "cuda-pgo-train", "displayName": "Build & Install: CUDA PGO Train", "targets": ["install"], "jobs": 0 },
{ "name": "cuda-pgo-use", "configurePreset": "cuda-pgo-use", "displayName": "Build & Install: CUDA PGO Use", "targets": ["install"], "jobs": 0 }
]
}