-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathCMakePresets.json
More file actions
48 lines (48 loc) · 1.63 KB
/
Copy pathCMakePresets.json
File metadata and controls
48 lines (48 loc) · 1.63 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
{
"version": 8,
"configurePresets": [
{
"name": "opflow-conda-base",
"displayName": "opflow-conda 基础工具链配置",
"description": "设置 Ninja 生成器和工具链",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"toolchainFile": "${sourceDir}/.vscode/conda-toolchain.cmake",
"cacheVariables": {
"OPFLOW_WITH_OPENMP": "OFF"
}
},
{
"name": "opflow-conda-debug",
"displayName": "opflow-conda Debug 配置",
"description": "OpFlow conda debug configure",
"inherits": "opflow-conda-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
},
{
"name": "opflow-conda-release",
"displayName": "opflow-conda Release 配置",
"description": "OpFlow conda release configure",
"inherits": "opflow-conda-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
}
],
"buildPresets": [
{
"name": "opflow-conda-debug",
"configurePreset": "opflow-conda-debug",
"description": "OpFlow conda debug build"
},
{
"name": "opflow-conda-release",
"configurePreset": "opflow-conda-release",
"description": "OpFlow conda release build"
}
]
}