forked from UBCHREST/ablate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
98 lines (98 loc) · 2.89 KB
/
CMakePresets.json
File metadata and controls
98 lines (98 loc) · 2.89 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "local-ablate-debug",
"displayName": "CLion Debug Config",
"description": "Default build for ABLATE in CLion",
"binaryDir": "${sourceDir}/cmake-build-debug-ablate",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"COMPILE_MPI_COMMAND": "$env{PETSC_DIR}/arch-ablate-debug/bin/mpirun"
},
"environment": {
"PETSC_ARCH": "arch-ablate-debug",
"PKG_CONFIG_PATH":"$env{PETSC_DIR}/arch-ablate-debug/lib/pkgconfig:$penv{PKG_CONFIG_PATH}"
}
},
{
"name": "local-ablate-opt",
"displayName": "CLion Opt Config",
"description": "Default build for ABLATE in CLion",
"binaryDir": "${sourceDir}/cmake-build-opt-ablate",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"COMPILE_MPI_COMMAND": "$env{PETSC_DIR}/arch-ablate-opt/bin/mpirun"
},
"environment": {
"PETSC_ARCH": "arch-ablate-opt",
"PKG_CONFIG_PATH": "$env{PETSC_DIR}/arch-ablate-opt/lib/pkgconfig:$penv{PKG_CONFIG_PATH}"
}
},
{
"name": "docker-ablate-debug",
"displayName": "Debug Docker Config",
"description": "Default build for ABLATE using Docker Dependencies",
"binaryDir": "${sourceDir}/cmake-build-debug-ablate-docker/default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"environment": {
"PETSC_ARCH": "arch-ablate-debug",
"PKG_CONFIG_PATH": "/petsc-install/arch-ablate-debug/lib/pkgconfig"
},
"vendor": {
"jetbrains.com/clion": {
"toolchain": "Docker"
}
}
},
{
"name": "docker-ablate-opt",
"displayName": "Opt Docker Config",
"description": "Default build for ABLATE using Docker Dependencies",
"binaryDir": "${sourceDir}/cmake-build-opt-ablate-docker/default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"environment": {
"PETSC_ARCH": "arch-ablate-opt",
"PKG_CONFIG_PATH": "/petsc-install/arch-ablate-opt/lib/pkgconfig"
},
"vendor": {
"jetbrains.com/clion": {
"toolchain": "Docker"
}
}
}
],
"buildPresets": [
{
"name": "local-ablate-debug",
"configurePreset": "local-ablate-debug"
},
{
"name": "local-ablate-opt",
"configurePreset": "local-ablate-opt"
}
],
"testPresets": [
{
"name": "local-ablate-debug",
"configurePreset": "local-ablate-debug",
"output": {"outputOnFailure": true},
"execution": {"noTestsAction": "error", "stopOnFailure": true}
},
{
"name": "local-ablate-opt",
"configurePreset": "local-ablate-opt",
"output": {"outputOnFailure": true},
"execution": {"noTestsAction": "error", "stopOnFailure": true}
}
]
}