-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCMakePresets.json
More file actions
32 lines (32 loc) · 928 Bytes
/
Copy pathCMakePresets.json
File metadata and controls
32 lines (32 loc) · 928 Bytes
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 7,
"patch": 0
},
"configurePresets": [
{
"name": "linux-generic-debug-config",
"displayName": "Linux Generic Machine (Debug)",
"description": "Targeting a generic Linux machine/laptop (Debug mode)",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CXX_COMPILER": "mpicxx",
"CMAKE_C_COMPILER": "mpicc",
"CMAKE_Fortran_COMPILER": "mpif90"
}
}
],
"buildPresets": [
{
"name": "linux-generic-debug-build",
"displayName": "Linux Generic Machine (Debug Build)",
"description": "Build targeting a generic Linux machine/laptop (Debug mode)",
"configurePreset": "linux-generic-debug-config"
}
]
}