-
Notifications
You must be signed in to change notification settings - Fork 14
/
CMakePresets.json
49 lines (49 loc) · 1.49 KB
/
CMakePresets.json
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "ArcaneCommonBase",
"hidden" : true,
"displayName": "ArcaneCommandBase",
"description": "Default build using Arcane",
"cacheVariables": {
"ARCANEFRAMEWORK_BUILD_COMPONENTS" : "Arcane",
"CMAKE_BUILD_TYPE" : "RelWithDebInfo",
"ARCANE_DISABLE_DEPRECATED_WARNINGS" : "TRUE",
"BUILD_SHARED_LIBS" : "TRUE"
}
},
{
"name": "Arcane",
"displayName": "Arcane",
"description": "Default build using Arcane (need C++20)",
"inherits" : "ArcaneCommonBase",
"cacheVariables": {
"ARCCORE_CXX_STANDARD" : "20"
}
},
{
"name": "ArcaneCxx17",
"displayName": "Arcane C++17",
"description": "Default build using Arcane with C++17",
"inherits" : "ArcaneCommonBase",
"cacheVariables": {
"ARCCORE_CXX_STANDARD" : "17"
}
},
{
"name": "ArcaneCuda",
"displayName": "ArcaneCuda",
"description": "Default build using Arcane with CUDA support",
"inherits" : "Arcane",
"cacheVariables": {
"ARCANE_ACCELERATOR_MODE" : "CUDANVCC"
}
}
]
}