-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCMakePresets.json
114 lines (114 loc) · 2.89 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"Kokkos_ENABLE_SERIAL": "ON"
},
"generator": "Ninja"
},
{
"name": "production",
"inherits": [
"base"
],
"displayName": "Production",
"description": "Configuration for production use",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "develop",
"inherits": [
"base"
],
"displayName": "Development",
"description": "Configuration for development use",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"NEOFOAM_DEVEL_TOOLS": "ON",
"NEOFOAM_BUILD_TESTS": "ON",
"NEOFOAM_BUILD_BENCHMARKS": "OFF",
"NEOFOAM_ENABLE_WARNINGS": "ON",
"Kokkos_ENABLE_DEBUG": "ON",
"Kokkos_ENABLE_DEBUG_BOUNDS_CHECK": "ON",
"Kokkos_ENABLE_COMPILE_AS_CMAKE_LANGUAGE": "OFF"
},
"warnings": {
"dev": true,
"deprecated": true,
"uninitialized": true
}
},
{
"name": "profiling",
"inherits": [
"base"
],
"displayName": "Profiling",
"description": "Configuration for profiling use",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"NEOFOAM_BUILD_TESTS": "OFF",
"NEOFOAM_BUILD_BENCHMARKS": "ON",
"NEOFOAM_ENABLE_WARNINGS": "OFF",
"CMAKE_CXX_FLAGS": "-fno-omit-frame-pointer $env{CXXFLAGS}"
}
}
],
"buildPresets": [
{
"name": "production",
"displayName": "Production",
"description": "Build for production use",
"configurePreset": "production",
"configuration": "Release"
},
{
"name": "develop",
"displayName": "Development",
"description": "Build for development use",
"configurePreset": "develop",
"configuration": "Debug"
},
{
"name": "profiling",
"displayName": "Profiling",
"description": "Build for profiling use",
"configurePreset": "profiling",
"configuration": "RelWithDebInfo"
}
],
"testPresets": [
{
"name": "production",
"displayName": "Production",
"description": "Run tests with production configuration",
"configurePreset": "production",
"configuration": "Release"
},
{
"name": "develop",
"displayName": "Development",
"description": "Run tests with development configuration",
"configurePreset": "develop",
"configuration": "Debug"
},
{
"name": "profiling",
"displayName": "Profiling",
"description": "Run tests with profiling configuration",
"configurePreset": "profiling",
"configuration": "RelWithDebInfo"
}
]
}