-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathCMakePresets.json
More file actions
84 lines (84 loc) · 2.96 KB
/
CMakePresets.json
File metadata and controls
84 lines (84 loc) · 2.96 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22
},
"configurePresets": [
{
"name": "common_opts",
"generator": "Ninja",
"hidden": true,
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"binaryDir": "${sourceParentDir}/build/${presetName}"
},
{
"name": "python_313",
"hidden": true,
"cacheVariables": {
"PYTHON_INTERPRETER_VERSION": "3.13"
}
},
{
"name": "linux_sdk_python_wrapper_dev_build",
"description": "Build python wrapper with latest sdk on Linux",
"inherits": "common_opts",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-20",
"CMAKE_CXX_COMPILER": "clang++-20",
"CMAKE_EXE_LINKER_FLAGS": "-fuse-ld=mold",
"CMAKE_MODULE_LINKER_FLAGS": "-fuse-ld=mold",
"CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "linux_sdk_python_313_debug_build",
"description": "Debug build of python wrapper with latest sdk for python 3.13 on Linux",
"inherits": ["linux_sdk_python_wrapper_dev_build", "python_313"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux_sdk_python_313_release_build",
"description": "Release build of python wrapper with latest sdk for python 3.13 on Linux",
"inherits": ["linux_sdk_python_wrapper_dev_build", "python_313"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "windows_sdk_python_wrapper_dev_build",
"description": "Build python wrapper with latest sdk on Windows",
"inherits": "common_opts",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "windows_sdk_python_313_debug_build",
"description": "Debug build of python wrapper with latest sdk for python 3.13 on Windows",
"inherits": ["windows_sdk_python_wrapper_dev_build", "python_313"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "windows_sdk_python_313_release_build",
"description": "Release build of python wrapper with latest sdk for python 3.13 on Windows",
"inherits": ["windows_sdk_python_wrapper_dev_build", "python_313"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
]
}