forked from applied-material-modeling/neml2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
40 lines (40 loc) · 1.13 KB
/
Copy pathCMakePresets.json
File metadata and controls
40 lines (40 loc) · 1.13 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
{
"version": 6,
"configurePresets": [
{
"name": "dev",
"displayName": "Development",
"description": "Debug build of libneml2_aoti",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/installed/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "OFF",
"NEML2_WHEEL": "OFF"
}
},
{
"name": "cc",
"displayName": "Compile commands",
"description": "Export compile commands of the C++ backend (drives clangd / LSP). Builds the wheel-side pybind extensions too so the index covers _aoti.cxx as well.",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/installed/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"NEML2_WHEEL": "ON"
}
}
],
"buildPresets": [
{
"name": "dev",
"displayName": "C++ Backend",
"description": "Debug build of libneml2_aoti",
"configurePreset": "dev",
"targets": [
"aoti"
]
}
]
}